diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-06 16:58:02 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 08:09:20 +0100 |
commit | ff081aee72436131cf11e3a35f96a6405c3a4d78 (patch) | |
tree | e64045cd5e8933e07eb1c6ae2c60bf426edc161a /bsps/powerpc | |
parent | psxtmtests_plan.csv: Add psxtmonce01 (diff) | |
download | rtems-ff081aee72436131cf11e3a35f96a6405c3a4d78.tar.bz2 |
score: Rename interrupt stack symbols
Rename
* _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin,
* _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and
* _Configuration_Interrupt_stack_size in _ISR_Stack_size.
Move definitions to <rtems/score/isr.h>. The new names are considerable
shorter and in the right namespace.
Update #3459.
Diffstat (limited to 'bsps/powerpc')
-rw-r--r-- | bsps/powerpc/gen83xx/start/start.S | 2 | ||||
-rw-r--r-- | bsps/powerpc/haleakala/start/dlentry.S | 4 | ||||
-rw-r--r-- | bsps/powerpc/include/bsp/vectors.h | 2 | ||||
-rw-r--r-- | bsps/powerpc/mpc55xxevb/start/bspstart.c | 2 | ||||
-rw-r--r-- | bsps/powerpc/mpc55xxevb/start/start.S | 2 | ||||
-rw-r--r-- | bsps/powerpc/psim/start/bspstart.c | 2 | ||||
-rw-r--r-- | bsps/powerpc/psim/start/start.S | 2 | ||||
-rw-r--r-- | bsps/powerpc/qemuppc/start/start.S | 4 | ||||
-rw-r--r-- | bsps/powerpc/qoriq/start/bspstart.c | 2 | ||||
-rw-r--r-- | bsps/powerpc/qoriq/start/start.S | 4 | ||||
-rw-r--r-- | bsps/powerpc/ss555/start/bspstart.c | 2 | ||||
-rw-r--r-- | bsps/powerpc/ss555/start/start.S | 2 | ||||
-rw-r--r-- | bsps/powerpc/t32mppc/start/bspstart.c | 2 | ||||
-rw-r--r-- | bsps/powerpc/t32mppc/start/start.S | 2 | ||||
-rw-r--r-- | bsps/powerpc/tqm8xx/start/start.S | 2 | ||||
-rw-r--r-- | bsps/powerpc/virtex/start/bspstart.c | 2 | ||||
-rw-r--r-- | bsps/powerpc/virtex4/start/start.S | 4 | ||||
-rw-r--r-- | bsps/powerpc/virtex5/start/start.S | 4 |
18 files changed, 23 insertions, 23 deletions
diff --git a/bsps/powerpc/gen83xx/start/start.S b/bsps/powerpc/gen83xx/start/start.S index 9272702d6b..532210e4b9 100644 --- a/bsps/powerpc/gen83xx/start/start.S +++ b/bsps/powerpc/gen83xx/start/start.S @@ -417,7 +417,7 @@ start_code_in_ram: li r3, 0 /* Set start stack pointer */ - LA r1, _Configuration_Interrupt_stack_area_end + LA r1, _ISR_Stack_area_end stwu r3, -4(r1) stwu r3, -4(r1) diff --git a/bsps/powerpc/haleakala/start/dlentry.S b/bsps/powerpc/haleakala/start/dlentry.S index 54fbb7668b..43dde91255 100644 --- a/bsps/powerpc/haleakala/start/dlentry.S +++ b/bsps/powerpc/haleakala/start/dlentry.S @@ -54,7 +54,7 @@ * .bss * see linker command file for section placement * - * The initial stack is set to _Configuration_Interrupt_stack_area_end. + * The initial stack is set to _ISR_Stack_area_end. * * All the entry veneer has to do is to clear the BSS. */ @@ -98,7 +98,7 @@ sbss_length: sbss_addr: .long sbss.start stack_top: - .long _Configuration_Interrupt_stack_area_end + .long _ISR_Stack_area_end PUBLIC_VAR (text_addr) text_addr: .long text.start diff --git a/bsps/powerpc/include/bsp/vectors.h b/bsps/powerpc/include/bsp/vectors.h index 88c60bc8cd..eccf4f3738 100644 --- a/bsps/powerpc/include/bsp/vectors.h +++ b/bsps/powerpc/include/bsp/vectors.h @@ -343,7 +343,7 @@ void ppc_exc_initialize_with_vector_base( static inline void ppc_exc_initialize(void) { ppc_exc_initialize_with_vector_base( - (uintptr_t) _Configuration_Interrupt_stack_area_begin, + (uintptr_t) _ISR_Stack_area_begin, NULL ); } diff --git a/bsps/powerpc/mpc55xxevb/start/bspstart.c b/bsps/powerpc/mpc55xxevb/start/bspstart.c index 5d4c1caf43..0da53cab2b 100644 --- a/bsps/powerpc/mpc55xxevb/start/bspstart.c +++ b/bsps/powerpc/mpc55xxevb/start/bspstart.c @@ -89,7 +89,7 @@ void bsp_start(void) bsp_clicks_per_usec = bsp_clock_speed / 1000000; ppc_exc_initialize_with_vector_base( - (uintptr_t) _Configuration_Interrupt_stack_area_begin, + (uintptr_t) _ISR_Stack_area_begin, mpc55xx_exc_vector_base ); bsp_interrupt_initialize(); diff --git a/bsps/powerpc/mpc55xxevb/start/start.S b/bsps/powerpc/mpc55xxevb/start/start.S index 81893b6276..ff38d619b2 100644 --- a/bsps/powerpc/mpc55xxevb/start/start.S +++ b/bsps/powerpc/mpc55xxevb/start/start.S @@ -228,7 +228,7 @@ zero_intermediate_stack_loop: bl mpc55xx_start_early /* Initialize start stack */ - LA r1, _Configuration_Interrupt_stack_area_end + LA r1, _ISR_Stack_area_end subi r1, r1, 16 li r0, 0 stw r0, 0(r1) diff --git a/bsps/powerpc/psim/start/bspstart.c b/bsps/powerpc/psim/start/bspstart.c index a7a73b7e7b..4fcc3ac01c 100644 --- a/bsps/powerpc/psim/start/bspstart.c +++ b/bsps/powerpc/psim/start/bspstart.c @@ -88,7 +88,7 @@ void bsp_start( void ) BSP_time_base_divisor = 1; ppc_exc_initialize_with_vector_base( - (uintptr_t) _Configuration_Interrupt_stack_area_begin, + (uintptr_t) _ISR_Stack_area_begin, (void *) 0xfff00000 ); diff --git a/bsps/powerpc/psim/start/start.S b/bsps/powerpc/psim/start/start.S index 03cbdedc5b..645a0222c9 100644 --- a/bsps/powerpc/psim/start/start.S +++ b/bsps/powerpc/psim/start/start.S @@ -47,7 +47,7 @@ FUNC_NAME(__atexit): /* tell C's eabi-ctor's we have an atexit function */ .long bsp_section_bss_end .Lstack = .-.LCTOC1 /* stack address if set by user */ - .long _Configuration_Interrupt_stack_area_end + .long _ISR_Stack_area_end .text .Lptr: diff --git a/bsps/powerpc/qemuppc/start/start.S b/bsps/powerpc/qemuppc/start/start.S index 66cedca9a2..d94d623410 100644 --- a/bsps/powerpc/qemuppc/start/start.S +++ b/bsps/powerpc/qemuppc/start/start.S @@ -6,8 +6,8 @@ .section .bsp_start_text,"awx",@progbits _start: - lis %r1,_Configuration_Interrupt_stack_area_end@h - ori %r1,%r1,_Configuration_Interrupt_stack_area_end@l + lis %r1,_ISR_Stack_area_end@h + ori %r1,%r1,_ISR_Stack_area_end@l /* Make sure stack is properly aligned */ li %r3, CPU_STACK_ALIGNMENT - 1 andc %r1, %r1, %r3 diff --git a/bsps/powerpc/qoriq/start/bspstart.c b/bsps/powerpc/qoriq/start/bspstart.c index c0b1034736..56935bbb27 100644 --- a/bsps/powerpc/qoriq/start/bspstart.c +++ b/bsps/powerpc/qoriq/start/bspstart.c @@ -169,7 +169,7 @@ void bsp_start(void) initialize_frequency_parameters(); qoriq_initialize_exceptions( - (uintptr_t) _Configuration_Interrupt_stack_area_begin + (uintptr_t) _ISR_Stack_area_begin ); bsp_interrupt_initialize(); diff --git a/bsps/powerpc/qoriq/start/start.S b/bsps/powerpc/qoriq/start/start.S index 57342971b6..87db3cfff2 100644 --- a/bsps/powerpc/qoriq/start/start.S +++ b/bsps/powerpc/qoriq/start/start.S @@ -56,8 +56,8 @@ _start: bl .Linitearly /* Get start stack */ - LA START_STACK, _Configuration_Interrupt_stack_area_begin - LA r3, _Configuration_Interrupt_stack_size + LA START_STACK, _ISR_Stack_area_begin + LA r3, _ISR_Stack_size add START_STACK, START_STACK, r3 bl .Linitmore diff --git a/bsps/powerpc/ss555/start/bspstart.c b/bsps/powerpc/ss555/start/bspstart.c index 5943e2bbd6..cc76c920af 100644 --- a/bsps/powerpc/ss555/start/bspstart.c +++ b/bsps/powerpc/ss555/start/bspstart.c @@ -78,7 +78,7 @@ void bsp_start(void) /* * Initialize some SPRG registers related to irq handling */ - intrStack = (char *)_Configuration_Interrupt_stack_area_end - + intrStack = (char *)_ISR_Stack_area_end - PPC_MINIMUM_STACK_FRAME_SIZE; _write_SPRG1((unsigned int)intrStack); diff --git a/bsps/powerpc/ss555/start/start.S b/bsps/powerpc/ss555/start/start.S index f17c918b3e..443a40f0ad 100644 --- a/bsps/powerpc/ss555/start/start.S +++ b/bsps/powerpc/ss555/start/start.S @@ -220,7 +220,7 @@ base_addr: * Parameters from linker */ stack_top: - .long _Configuration_Interrupt_stack_area_end + .long _ISR_Stack_area_end toc_pointer: .long __GOT_START__ diff --git a/bsps/powerpc/t32mppc/start/bspstart.c b/bsps/powerpc/t32mppc/start/bspstart.c index f7d68340ea..c3d03e789b 100644 --- a/bsps/powerpc/t32mppc/start/bspstart.c +++ b/bsps/powerpc/t32mppc/start/bspstart.c @@ -49,7 +49,7 @@ static void t32mppc_initialize_exceptions(void) uintptr_t addr; ppc_exc_initialize_interrupt_stack( - (uintptr_t) _Configuration_Interrupt_stack_area_begin + (uintptr_t) _ISR_Stack_area_begin ); addr = (uintptr_t) bsp_exc_vector_base; diff --git a/bsps/powerpc/t32mppc/start/start.S b/bsps/powerpc/t32mppc/start/start.S index e4066adb6f..ac7d6f5de7 100644 --- a/bsps/powerpc/t32mppc/start/start.S +++ b/bsps/powerpc/t32mppc/start/start.S @@ -34,7 +34,7 @@ _start: mtspr HID0, r0 /* Initialize start stack */ - LA r1, _Configuration_Interrupt_stack_area_end + LA r1, _ISR_Stack_area_end subi r1, r1, 16 li r0, 0 stw r0, 0(r1) diff --git a/bsps/powerpc/tqm8xx/start/start.S b/bsps/powerpc/tqm8xx/start/start.S index 62e8c5ba86..f134e336da 100644 --- a/bsps/powerpc/tqm8xx/start/start.S +++ b/bsps/powerpc/tqm8xx/start/start.S @@ -120,7 +120,7 @@ start_code_in_ram: */ /* Set stack pointer (common for RAM/ROM startup) */ - LA r1, _Configuration_Interrupt_stack_area_end + LA r1, _ISR_Stack_area_end addi r1, r1, -0x10 /* Create NULL */ diff --git a/bsps/powerpc/virtex/start/bspstart.c b/bsps/powerpc/virtex/start/bspstart.c index 64dbb60898..a4054f1b36 100644 --- a/bsps/powerpc/virtex/start/bspstart.c +++ b/bsps/powerpc/virtex/start/bspstart.c @@ -95,7 +95,7 @@ void bsp_start( void ) get_ppc_cpu_revision(); ppc_exc_initialize_with_vector_base( - (uintptr_t) _Configuration_Interrupt_stack_area_begin, + (uintptr_t) _ISR_Stack_area_begin, virtex_exc_vector_base ); __asm__ volatile ("mtevpr %0" : : "r" (virtex_exc_vector_base)); diff --git a/bsps/powerpc/virtex4/start/start.S b/bsps/powerpc/virtex4/start/start.S index d4b8419551..5189ec5af6 100644 --- a/bsps/powerpc/virtex4/start/start.S +++ b/bsps/powerpc/virtex4/start/start.S @@ -82,7 +82,7 @@ * .bss * see linker command file for section placement * - * The initial stack is set to _Configuration_Interrupt_stack_area_end. + * The initial stack is set to _ISR_Stack_area_end. * */ @@ -109,7 +109,7 @@ bss_length: bss_addr: .long __bss_start stack_top: - .long _Configuration_Interrupt_stack_area_end + .long _ISR_Stack_area_end dccr_contents: .long __dccr iccr_contents: diff --git a/bsps/powerpc/virtex5/start/start.S b/bsps/powerpc/virtex5/start/start.S index b63c103b14..c17587fbce 100644 --- a/bsps/powerpc/virtex5/start/start.S +++ b/bsps/powerpc/virtex5/start/start.S @@ -86,7 +86,7 @@ * .bss * see linker command file for section placement * - * The initial stack is set to _Configuration_Interrupt_stack_area_end. + * The initial stack is set to _ISR_Stack_area_end. * * All the entry veneer has to do is to clear the BSS. */ @@ -114,7 +114,7 @@ bss_length: bss_addr: .long __bss_start stack_top: - .long _Configuration_Interrupt_stack_area_end + .long _ISR_Stack_area_end .eject |