Move private APIs in gic_common.h to a private header
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
1 parent 38a7861 commit e9ec3cec6519604b1c6fa7eb3834966e3bd10685
@Soby Mathew Soby Mathew authored on 1 Feb 2016
Showing 8 changed files
View
drivers/arm/gic/common/gic_common.c
View
drivers/arm/gic/common/gic_common_private.h 0 → 100644
View
drivers/arm/gic/v2/gicv2_helpers.c
View
drivers/arm/gic/v2/gicv2_main.c
View
drivers/arm/gic/v3/gicv3_helpers.c
View
drivers/arm/gic/v3/gicv3_main.c
View
drivers/arm/gic/v3/gicv3_private.h
View
include/drivers/arm/gic_common.h