diff options
author | Dan Handley <dan.handley@arm.com> | 2014-05-27 16:17:21 +0100 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-05-27 16:17:21 +0100 |
commit | 9865ac15765f260069047c0e7c56623eb1a70b9a (patch) | |
tree | f574c9be9dc54b90430ddfb1bd5dfc39a58b9cfc /plat | |
parent | 0ad469110437196cfbb781b30233d62e2320f694 (diff) |
Further renames of platform porting functions
Rename the ic_* platform porting functions to plat_ic_* to be
consistent with the other functions in platform.h. Also rename
bl31_get_next_image_info() to bl31_plat_get_next_image_ep_info()
and remove the duplicate declaration in bl31.h.
Change-Id: I4851842069d3cff14c0a468daacc0a891a7ede84
Diffstat (limited to 'plat')
-rw-r--r-- | plat/fvp/bl31_fvp_setup.c | 2 | ||||
-rw-r--r-- | plat/fvp/fvp_gic.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plat/fvp/bl31_fvp_setup.c b/plat/fvp/bl31_fvp_setup.c index d867fba..5169bd7 100644 --- a/plat/fvp/bl31_fvp_setup.c +++ b/plat/fvp/bl31_fvp_setup.c @@ -88,7 +88,7 @@ static bl31_params_t *bl2_to_bl31_params; * while BL32 corresponds to the secure image type. A NULL pointer is returned * if the image does not exist. ******************************************************************************/ -entry_point_info_t *bl31_get_next_image_info(uint32_t type) +entry_point_info_t *bl31_plat_get_next_image_ep_info(uint32_t type) { entry_point_info_t *next_image_info; diff --git a/plat/fvp/fvp_gic.c b/plat/fvp/fvp_gic.c index fed2fca..3156da9 100644 --- a/plat/fvp/fvp_gic.c +++ b/plat/fvp/fvp_gic.c @@ -324,7 +324,7 @@ uint32_t plat_interrupt_type_to_line(uint32_t type, uint32_t security_state) * the GIC cpu interface. INTR_TYPE_INVAL is returned when there is no * interrupt pending. ******************************************************************************/ -uint32_t ic_get_pending_interrupt_type() +uint32_t plat_ic_get_pending_interrupt_type() { uint32_t id, gicc_base; @@ -346,7 +346,7 @@ uint32_t ic_get_pending_interrupt_type() * the GIC cpu interface. INTR_ID_UNAVAILABLE is returned when there is no * interrupt pending. ******************************************************************************/ -uint32_t ic_get_pending_interrupt_id() +uint32_t plat_ic_get_pending_interrupt_id() { uint32_t id, gicc_base; @@ -370,7 +370,7 @@ uint32_t ic_get_pending_interrupt_id() * This functions reads the GIC cpu interface Interrupt Acknowledge register * to start handling the pending interrupt. It returns the contents of the IAR. ******************************************************************************/ -uint32_t ic_acknowledge_interrupt() +uint32_t plat_ic_acknowledge_interrupt() { return gicc_read_IAR(fvp_get_cfgvar(CONFIG_GICC_ADDR)); } @@ -379,7 +379,7 @@ uint32_t ic_acknowledge_interrupt() * This functions writes the GIC cpu interface End Of Interrupt register with * the passed value to finish handling the active interrupt ******************************************************************************/ -void ic_end_of_interrupt(uint32_t id) +void plat_ic_end_of_interrupt(uint32_t id) { gicc_write_EOIR(fvp_get_cfgvar(CONFIG_GICC_ADDR), id); return; @@ -390,7 +390,7 @@ void ic_end_of_interrupt(uint32_t id) * this interrupt has been configured under by the interrupt controller i.e. * group0 or group1. ******************************************************************************/ -uint32_t ic_get_interrupt_type(uint32_t id) +uint32_t plat_ic_get_interrupt_type(uint32_t id) { uint32_t group; |