mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 08:54:44 +08:00
bsps/arm: Define ARM_CP15_TEXT_SECTION
Define ARM_CP15_TEXT_SECTION to BSP_START_TEXT_SECTION so that the start code is in the right section.
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/start.h>
|
||||
#include <bsp/arm-cp15-start.h>
|
||||
@@ -199,4 +201,4 @@ BSP_START_TEXT_SECTION void bsp_start_hook_1( void )
|
||||
bsp_start_copy_sections();
|
||||
|
||||
bsp_start_clear_bss();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/start.h>
|
||||
#include <bsp/lpc32xx.h>
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
|
||||
|
||||
#include <bsp/start.h>
|
||||
#include <bsp/arm-cp15-start.h>
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/start.h>
|
||||
#include <bsp/arm-cp15-start.h>
|
||||
|
||||
@@ -36,24 +36,6 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
BSP_START_TEXT_SECTION static inline uint32_t
|
||||
arm_cp15_get_control(void);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
arm_cp15_set_control(uint32_t val);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline uint32_t
|
||||
arm_cp15_get_auxiliary_control(void);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
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 void
|
||||
arm_cp15_branch_predictor_invalidate_all(void);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
arm_a9mpcore_start_set_vector_base(void)
|
||||
{
|
||||
|
||||
@@ -83,32 +83,9 @@ typedef struct {
|
||||
}
|
||||
|
||||
extern const arm_cp15_start_section_config bsp_mm_config_table[];
|
||||
|
||||
extern const size_t bsp_mm_config_table_size;
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
arm_cp15_set_domain_access_control(uint32_t val);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
arm_cp15_set_translation_table_base(uint32_t *base);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
arm_cp15_set_control(uint32_t val);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline uint32_t
|
||||
arm_cp15_get_control(void);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
arm_cp15_cache_invalidate(void);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
arm_cp15_tlb_invalidate(void);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline uint32_t
|
||||
arm_cp15_get_multiprocessor_affinity(void);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline uint32_t
|
||||
arm_cortex_a9_get_multiprocessor_cpu_id(void);
|
||||
|
||||
BSP_START_TEXT_SECTION static inline void
|
||||
arm_cp15_start_set_translation_table_entries(
|
||||
uint32_t *ttb,
|
||||
|
||||
@@ -5,10 +5,13 @@
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
|
||||
|
||||
#include <bsp/start.h>
|
||||
#include <bsp/arm-cp15-start.h>
|
||||
#include <bsp/linker-symbols.h>
|
||||
#include <bsp/mm.h>
|
||||
#include <bsp/start.h>
|
||||
|
||||
BSP_START_TEXT_SECTION void bsp_memory_management_initialize(void)
|
||||
{
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/start.h>
|
||||
#include <bsp/arm-cp15-start.h>
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#define ARM_CP15_TEXT_SECTION BSP_START_TEXT_SECTION
|
||||
|
||||
#include <bsp.h>
|
||||
#include <bsp/start.h>
|
||||
#include <bsp/arm-cp15-start.h>
|
||||
|
||||
Reference in New Issue
Block a user