• Soby Mathew's avatar
    Move private APIs in gic_common.h to a private header · e9ec3cec
    Soby Mathew authored
    This patch moves the private GIC common accessors from `gic_common.h` to
    a new private header file `gic_common_private.h`. This patch also adds
    additional comments to GIC register accessors to highlight the fact
    that some of them access register values that correspond to multiple
    interrupt IDs. The convention used is that the `set`, `get` and `clr`
    accessors access and modify the values corresponding to a single interrupt
    ID whereas the `read` and `write` GIC register accessors access the raw
    GIC registers and it could correspond to multiple interrupt IDs depending
    on the register accessed.
    
    Change-Id: I2643ecb2533f01e3d3219fcedfb5f80c120622f9
    e9ec3cec
gicv2_main.c 9.47 KB