[rtems commit] bsps/arm: Declare return types
Sebastian Huber
sebh at rtems.org
Wed May 7 07:16:42 UTC 2014
Module: rtems
Branch: master
Commit: 00346297381f12400c5fd4f73256ff25df873a94
Changeset: http://git.rtems.org/rtems/commit/?id=00346297381f12400c5fd4f73256ff25df873a94
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed May 7 09:23:23 2014 +0200
bsps/arm: Declare return types
---
.../libbsp/arm/shared/include/arm-a9mpcore-start.h | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h b/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h
index 9ecb375..578c842 100644
--- a/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h
+++ b/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h
@@ -51,7 +51,8 @@ arm_cp15_set_auxiliary_control(uint32_t val);
BSP_START_TEXT_SECTION static inline void
arm_cp15_set_vector_base_address(void *base);
-BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_set_vector_base(void)
+BSP_START_TEXT_SECTION static inline void
+arm_a9mpcore_start_set_vector_base(void)
{
/*
* Do not use bsp_vector_table_begin == 0, since this will get optimized away.
@@ -71,7 +72,7 @@ BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_set_vector_base(void)
}
}
-BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_scu_invalidate(
+BSP_START_TEXT_SECTION static inline void arm_a9mpcore_start_scu_invalidate(
volatile a9mpcore_scu *scu,
uint32_t cpu_id,
uint32_t ways
@@ -80,7 +81,7 @@ BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_scu_invalidate(
scu->invss = (ways & 0xf) << ((cpu_id & 0x3) * 4);
}
-BSP_START_TEXT_SECTION static void inline
+BSP_START_TEXT_SECTION static inline void
arm_a9mpcore_start_errata_764369_handler(volatile a9mpcore_scu *scu)
{
if (arm_errata_is_applicable_processor_errata_764369()) {
@@ -88,14 +89,14 @@ arm_a9mpcore_start_errata_764369_handler(volatile a9mpcore_scu *scu)
}
}
-BSP_START_TEXT_SECTION static inline
+BSP_START_TEXT_SECTION static inline void
arm_a9mpcore_start_scu_enable(volatile a9mpcore_scu *scu)
{
scu->ctrl |= A9MPCORE_SCU_CTRL_SCU_EN;
arm_a9mpcore_start_errata_764369_handler(scu);
}
-BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_hook_0(void)
+BSP_START_TEXT_SECTION static inline void arm_a9mpcore_start_hook_0(void)
{
volatile a9mpcore_scu *scu =
(volatile a9mpcore_scu *) BSP_ARM_A9MPCORE_SCU_BASE;
@@ -153,7 +154,7 @@ BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_hook_0(void)
#endif
}
-BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_global_timer(void)
+BSP_START_TEXT_SECTION static inline void arm_a9mpcore_start_global_timer(void)
{
volatile a9mpcore_gt *gt = (volatile a9mpcore_gt *) BSP_ARM_A9MPCORE_GT_BASE;
@@ -163,7 +164,7 @@ BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_global_timer(void)
gt->ctrl = A9MPCORE_GT_CTRL_TMR_EN;
}
-BSP_START_TEXT_SECTION static inline arm_a9mpcore_start_hook_1(void)
+BSP_START_TEXT_SECTION static inline void arm_a9mpcore_start_hook_1(void)
{
arm_a9mpcore_start_global_timer();
arm_a9mpcore_start_set_vector_base();
More information about the vc
mailing list