Changeset ff081aee in rtems


Ignore:
Timestamp:
Nov 6, 2018, 3:58:02 PM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
4fea054c
Parents:
e9f15be
git-author:
Sebastian Huber <sebastian.huber@…> (11/06/18 15:58:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/08/18 07:09:20)
Message:

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.

Files:
53 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/csb336/start/start.S

    re9f15be rff081aee  
    2828
    2929        /* Set end of interrupt stack area */
    30         ldr     r7, =_Configuration_Interrupt_stack_area_end
     30        ldr     r7, =_ISR_Stack_area_end
    3131
    3232        /* Enter FIQ mode and set up the FIQ stack pointer */
  • bsps/arm/csb337/start/start.S

    re9f15be rff081aee  
    2121
    2222        /* Set end of interrupt stack area */
    23         ldr     r7, =_Configuration_Interrupt_stack_area_end
     23        ldr     r7, =_ISR_Stack_area_end
    2424
    2525        /* Enter FIQ mode and set up the FIQ stack pointer */
  • bsps/arm/edb7312/start/start.S

    re9f15be rff081aee  
    6161_start:
    6262        /* Set end of interrupt stack area */
    63         ldr     r7, =_Configuration_Interrupt_stack_area_end
     63        ldr     r7, =_ISR_Stack_area_end
    6464
    6565        /* Enter FIQ mode and set up the FIQ stack pointer */
  • bsps/arm/gumstix/start/start.S

    re9f15be rff081aee  
    2020
    2121        /* Set end of interrupt stack area */
    22         ldr     r7, =_Configuration_Interrupt_stack_area_end
     22        ldr     r7, =_ISR_Stack_area_end
    2323
    2424        /* Enter FIQ mode and set up the FIQ stack pointer */
  • bsps/arm/rtl22xx/start/start.S

    re9f15be rff081aee  
    2222
    2323        /* Set end of interrupt stack area */
    24         ldr     r7, =_Configuration_Interrupt_stack_area_end
     24        ldr     r7, =_ISR_Stack_area_end
    2525
    2626        /* Enter FIQ mode and set up the FIQ stack pointer */
  • bsps/arm/shared/start/start.S

    re9f15be rff081aee  
    182182
    183183        /* Calculate interrupt stack area end for current processor */
    184         ldr     r1, =_Configuration_Interrupt_stack_size
     184        ldr     r1, =_ISR_Stack_size
    185185#ifdef RTEMS_SMP
    186186        add     r7, #1
    187187        mul     r1, r1, r7
    188188#endif
    189         ldr     r2, =_Configuration_Interrupt_stack_area_begin
     189        ldr     r2, =_ISR_Stack_area_begin
    190190        add     r7, r1, r2
    191191
     
    355355bsp_start_vector_table_begin:
    356356
    357         .word   _Configuration_Interrupt_stack_area_end
     357        .word   _ISR_Stack_area_end
    358358        .word   _start /* Reset */
    359359        .word   _ARMV7M_Exception_default /* NMI */
     
    405405#endif /* ARM_MULTILIB_VFP */
    406406
    407         ldr     sp, =_Configuration_Interrupt_stack_area_end
     407        ldr     sp, =_ISR_Stack_area_end
    408408        ldr     lr, =bsp_start_hook_0_done + 1
    409409        b       bsp_start_hook_0
  • bsps/arm/smdk2410/start/start.S

    re9f15be rff081aee  
    5757
    5858        /* Set end of interrupt stack area */
    59         ldr     r7, =_Configuration_Interrupt_stack_area_end
     59        ldr     r7, =_ISR_Stack_area_end
    6060
    6161        /* Enter FIQ mode and set up the FIQ stack pointer */
  • bsps/lm32/shared/start/start.S

    re9f15be rff081aee  
    127127        nop
    128128        /* Initialize stack pointer */
    129         mvhi    sp, hi(_Configuration_Interrupt_stack_area_end-4)
    130         ori     sp, sp, lo(_Configuration_Interrupt_stack_area_end-4)
     129        mvhi    sp, hi(_ISR_Stack_area_end-4)
     130        ori     sp, sp, lo(_ISR_Stack_area_end-4)
    131131        /* Initialize global pointer */
    132132        mvhi    gp, hi(_edata)
  • bsps/m32c/m32cbsp/start/start.S

    re9f15be rff081aee  
    4949.LFB2:
    5050        fset    U       /* User stack */
    51         ldc     #__Configuration_Interrupt_stack_area_end,sp
     51        ldc     #__ISR_Stack_area_end,sp
    5252
    5353#ifdef A16
  • bsps/m68k/gen68340/start/start.S

    re9f15be rff081aee  
    851851        bcs.s   ZEROLOOP                                        | No, skip
    852852
    853         movel   #_Configuration_Interrupt_stack_area_end,a7             | set master stack pointer
     853        movel   #_ISR_Stack_area_end,a7         | set master stack pointer
    854854        movel   d0,a7@-                                         | command line
    855855        jsr     SYM(boot_card)                                  | Call C main
  • bsps/m68k/gen68360/start/start.S

    re9f15be rff081aee  
    391391        bcs.s   ZEROLOOP                | No, skip
    392392
    393         movel   #_Configuration_Interrupt_stack_area_end,a7 | set master stack pointer
     393        movel   #_ISR_Stack_area_end,a7 | set master stack pointer
    394394        movel   d0,a7@-                 | command line
    395395        jsr     boot_card               | Call C main
  • bsps/m68k/genmcf548x/start/start.S

    re9f15be rff081aee  
    7676PUBLIC (InterruptVectorTable)
    7777SYM(InterruptVectorTable):
    78 INITSP:         .long   _Configuration_Interrupt_stack_area_end /* Initial SP             */
     78INITSP:         .long   _ISR_Stack_area_end /* Initial SP                 */
    7979INITPC:         .long   start                   /* Initial PC             */
    8080vector002:      .long   asm_default_interrupt   /* Access Error           */
     
    412412    jsr     mcf548x_init                /* Initialize mcf548x peripherals */
    413413
    414     move.l  #_Configuration_Interrupt_stack_area_end,sp /* relocate sp */
     414    move.l  #_ISR_Stack_area_end,sp /* relocate sp */
    415415
    416416    clrl    d0                          /* clear d0 */
  • bsps/m68k/mcf52235/start/start.S

    re9f15be rff081aee  
    2222SYM(_INTERRUPT_VECTOR):
    2323
    24     .long   _Configuration_Interrupt_stack_area_end /* 00 Initial 'SSP' */
     24    .long   _ISR_Stack_area_end /* 00 Initial 'SSP' */
    2525    .long   SYM(start) /* 01 Initial PC */
    2626    .long   SYM(_uhoh) /* 02 Access Error */
     
    356356
    357357    /* Locate Stack Pointer */
    358     move.l  #_Configuration_Interrupt_stack_area_end, sp
     358    move.l  #_ISR_Stack_area_end, sp
    359359
    360360    /* Initialize FLASHBAR */
     
    368368
    369369    /* Locate Stack Pointer */
    370     move.l  #_Configuration_Interrupt_stack_area_end, sp
     370    move.l  #_ISR_Stack_area_end, sp
    371371
    372372    /* Save off intial D0 and D1 to RAM */
  • bsps/m68k/mcf5225x/start/start.S

    re9f15be rff081aee  
    2222SYM(_INTERRUPT_VECTOR):
    2323
    24     .long   _Configuration_Interrupt_stack_area_end /* 00 Initial 'SSP' */
     24    .long   _ISR_Stack_area_end /* 00 Initial 'SSP' */
    2525    .long   SYM(start) /* 01 Initial PC */
    2626    .long   SYM(_uhoh) /* 02 Access Error */
     
    360360
    361361    /* Locate Stack Pointer */
    362     move.l  #_Configuration_Interrupt_stack_area_end, sp
     362    move.l  #_ISR_Stack_area_end, sp
    363363
    364364    /* Initialize FLASHBAR */
     
    372372
    373373    /* Locate Stack Pointer */
    374 //    move.l  #_Configuration_Interrupt_stack_area_end, sp              //is done automatically by the CPU
     374//    move.l  #_ISR_Stack_area_end, sp          //is done automatically by the CPU
    375375
    376376    /*
  • bsps/m68k/mcf5329/start/start.S

    re9f15be rff081aee  
    2222SYM(_INTERRUPT_VECTOR):
    2323
    24     .long   _Configuration_Interrupt_stack_area_end /* 00 Initial 'SSP' */
     24    .long   _ISR_Stack_area_end /* 00 Initial 'SSP' */
    2525    .long   SYM(start) /* 01 Initial PC */
    2626    .long   SYM(_uhoh) /* 02 Access Error */
     
    345345
    346346    /* Locate Stack Pointer */
    347     move.l  #_Configuration_Interrupt_stack_area_end,sp
     347    move.l  #_ISR_Stack_area_end,sp
    348348
    349349    /*
  • bsps/m68k/mrm332/start/start.S

    re9f15be rff081aee  
    3939
    4040        /* Set stack pointer */
    41         movel   #_Configuration_Interrupt_stack_area_end,d0
     41        movel   #_ISR_Stack_area_end,d0
    4242        movel   d0,sp
    4343        movel   d0,a6
  • bsps/m68k/shared/start/start.S

    re9f15be rff081aee  
    7575        jlt     loop                    | loop until _end reached
    7676
    77         movel   # SYM (_Configuration_Interrupt_stack_area_end),d0 | d0 = stop of stack
     77        movel   # SYM (_ISR_Stack_area_end),d0 | d0 = stop of stack
    7878        movw    #0x3700,sr              | SUPV MODE,INTERRUPTS OFF!!!
    7979        movel   d0,a7                   | set master stack pointer
  • bsps/mips/csb350/start/start.S

    re9f15be rff081aee  
    6868        addiu   v0,v0,4                 /* executed in delay slot */
    6969
    70         la      t0, _Configuration_Interrupt_stack_area_end /* initialize stack so we */
     70        la      t0, _ISR_Stack_area_end /* initialize stack so we */
    7171        /* We must subtract 24 bytes for the 3 8 byte arguments to main, in
    7272           case main wants to write them back to the stack.  The caller is
  • bsps/mips/jmr3904/start/start.S

    re9f15be rff081aee  
    140140        addiu   v0,v0,4                         # executed in delay slot
    141141
    142         la      t0, _Configuration_Interrupt_stack_area_end # initialize stack so we
     142        la      t0, _ISR_Stack_area_end # initialize stack so we
    143143        /* We must subtract 24 bytes for the 3 8 byte arguments to main, in
    144144           case main wants to write them back to the stack.  The caller is
  • bsps/mips/malta/start/start.S

    re9f15be rff081aee  
    167167        addiu   v0,v0,4                         # executed in delay slot
    168168
    169         la      t0, _Configuration_Interrupt_stack_area_end # initialize stack so we
     169        la      t0, _ISR_Stack_area_end # initialize stack so we
    170170        /* We must subtract 24 bytes for the 3 8 byte arguments to main, in
    171171           case main wants to write them back to the stack.  The caller is
  • bsps/powerpc/gen83xx/start/start.S

    re9f15be rff081aee  
    418418
    419419        /* Set start stack pointer */
    420         LA      r1, _Configuration_Interrupt_stack_area_end
     420        LA      r1, _ISR_Stack_area_end
    421421        stwu    r3, -4(r1)
    422422        stwu    r3, -4(r1)
  • bsps/powerpc/haleakala/start/dlentry.S

    re9f15be rff081aee  
    5555 * see linker command file for section placement
    5656 *
    57  *  The initial stack is set to _Configuration_Interrupt_stack_area_end.
     57 *  The initial stack is set to _ISR_Stack_area_end.
    5858 *
    5959 *  All the entry veneer has to do is to clear the BSS.
     
    9999                .long   sbss.start
    100100stack_top:
    101                 .long   _Configuration_Interrupt_stack_area_end
     101                .long   _ISR_Stack_area_end
    102102PUBLIC_VAR (text_addr)
    103103text_addr:
  • bsps/powerpc/include/bsp/vectors.h

    re9f15be rff081aee  
    344344{
    345345  ppc_exc_initialize_with_vector_base(
    346     (uintptr_t) _Configuration_Interrupt_stack_area_begin,
     346    (uintptr_t) _ISR_Stack_area_begin,
    347347    NULL
    348348  );
  • bsps/powerpc/mpc55xxevb/start/bspstart.c

    re9f15be rff081aee  
    9090
    9191        ppc_exc_initialize_with_vector_base(
    92                 (uintptr_t) _Configuration_Interrupt_stack_area_begin,
     92                (uintptr_t) _ISR_Stack_area_begin,
    9393                mpc55xx_exc_vector_base
    9494        );
  • bsps/powerpc/mpc55xxevb/start/start.S

    re9f15be rff081aee  
    229229
    230230        /* Initialize start stack */
    231         LA      r1, _Configuration_Interrupt_stack_area_end
     231        LA      r1, _ISR_Stack_area_end
    232232        subi    r1, r1, 16
    233233        li      r0, 0
  • bsps/powerpc/psim/start/bspstart.c

    re9f15be rff081aee  
    8989
    9090  ppc_exc_initialize_with_vector_base(
    91     (uintptr_t) _Configuration_Interrupt_stack_area_begin,
     91    (uintptr_t) _ISR_Stack_area_begin,
    9292    (void *) 0xfff00000
    9393  );
  • bsps/powerpc/psim/start/start.S

    re9f15be rff081aee  
    4848
    4949.Lstack = .-.LCTOC1                     /* stack address if set by user */
    50         .long   _Configuration_Interrupt_stack_area_end
     50        .long   _ISR_Stack_area_end
    5151
    5252        .text
  • bsps/powerpc/qemuppc/start/start.S

    re9f15be rff081aee  
    77
    88_start:
    9         lis   %r1,_Configuration_Interrupt_stack_area_end@h
    10         ori   %r1,%r1,_Configuration_Interrupt_stack_area_end@l
     9        lis   %r1,_ISR_Stack_area_end@h
     10        ori   %r1,%r1,_ISR_Stack_area_end@l
    1111        /* Make sure stack is properly aligned */
    1212        li    %r3, CPU_STACK_ALIGNMENT - 1
  • bsps/powerpc/qoriq/start/bspstart.c

    re9f15be rff081aee  
    170170
    171171  qoriq_initialize_exceptions(
    172     (uintptr_t) _Configuration_Interrupt_stack_area_begin
     172    (uintptr_t) _ISR_Stack_area_begin
    173173  );
    174174  bsp_interrupt_initialize();
  • bsps/powerpc/qoriq/start/start.S

    re9f15be rff081aee  
    5757
    5858        /* Get start stack */
    59         LA      START_STACK, _Configuration_Interrupt_stack_area_begin
    60         LA      r3, _Configuration_Interrupt_stack_size
     59        LA      START_STACK, _ISR_Stack_area_begin
     60        LA      r3, _ISR_Stack_size
    6161        add     START_STACK, START_STACK, r3
    6262
  • bsps/powerpc/ss555/start/bspstart.c

    re9f15be rff081aee  
    7979   * Initialize some SPRG registers related to irq handling
    8080   */
    81   intrStack = (char *)_Configuration_Interrupt_stack_area_end -
     81  intrStack = (char *)_ISR_Stack_area_end -
    8282     PPC_MINIMUM_STACK_FRAME_SIZE;
    8383  _write_SPRG1((unsigned int)intrStack);
  • bsps/powerpc/ss555/start/start.S

    re9f15be rff081aee  
    221221 */
    222222stack_top:
    223         .long   _Configuration_Interrupt_stack_area_end
     223        .long   _ISR_Stack_area_end
    224224
    225225toc_pointer:
  • bsps/powerpc/t32mppc/start/bspstart.c

    re9f15be rff081aee  
    5050
    5151  ppc_exc_initialize_interrupt_stack(
    52     (uintptr_t) _Configuration_Interrupt_stack_area_begin
     52    (uintptr_t) _ISR_Stack_area_begin
    5353  );
    5454
  • bsps/powerpc/t32mppc/start/start.S

    re9f15be rff081aee  
    3535
    3636        /* Initialize start stack */
    37         LA      r1, _Configuration_Interrupt_stack_area_end
     37        LA      r1, _ISR_Stack_area_end
    3838        subi    r1, r1, 16
    3939        li      r0, 0
  • bsps/powerpc/tqm8xx/start/start.S

    re9f15be rff081aee  
    121121
    122122        /* Set stack pointer (common for RAM/ROM startup) */
    123         LA      r1, _Configuration_Interrupt_stack_area_end
     123        LA      r1, _ISR_Stack_area_end
    124124        addi    r1, r1, -0x10
    125125
  • bsps/powerpc/virtex/start/bspstart.c

    re9f15be rff081aee  
    9696
    9797  ppc_exc_initialize_with_vector_base(
    98     (uintptr_t) _Configuration_Interrupt_stack_area_begin,
     98    (uintptr_t) _ISR_Stack_area_begin,
    9999    virtex_exc_vector_base
    100100  );
  • bsps/powerpc/virtex4/start/start.S

    re9f15be rff081aee  
    8383 *  see linker command file for section placement
    8484 *
    85  *  The initial stack is set to _Configuration_Interrupt_stack_area_end.
     85 *  The initial stack is set to _ISR_Stack_area_end.
    8686 *
    8787 */
     
    110110        .long   __bss_start
    111111stack_top:
    112         .long   _Configuration_Interrupt_stack_area_end
     112        .long   _ISR_Stack_area_end
    113113dccr_contents:
    114114        .long   __dccr
  • bsps/powerpc/virtex5/start/start.S

    re9f15be rff081aee  
    8787 *  see linker command file for section placement
    8888 *
    89  *  The initial stack is set to _Configuration_Interrupt_stack_area_end.
     89 *  The initial stack is set to _ISR_Stack_area_end.
    9090 *
    9191 *  All the entry veneer has to do is to clear the BSS.
     
    115115        .long   __bss_start
    116116stack_top:
    117         .long   _Configuration_Interrupt_stack_area_end
     117        .long   _ISR_Stack_area_end
    118118
    119119
  • bsps/riscv/riscv/start/start.S

    re9f15be rff081aee  
    6262        /* Load stack pointer and branch to secondary processor start if necessary */
    6363#ifdef RTEMS_SMP
    64         LADDR   sp, _Configuration_Interrupt_stack_area_begin
    65         LADDR   t2, _Configuration_Interrupt_stack_size
     64        LADDR   sp, _ISR_Stack_area_begin
     65        LADDR   t2, _ISR_Stack_size
    6666        csrr    s0, mhartid
    6767        LADDR   t0, _Per_CPU_Information
     
    7272        add     sp, sp, t2
    7373#else
    74         LADDR   sp, _Configuration_Interrupt_stack_area_end
     74        LADDR   sp, _ISR_Stack_area_end
    7575#endif
    7676
  • bsps/sh/gensh1/start/start.S

    re9f15be rff081aee  
    6767        .align 2
    6868stack_k:
    69         .long   SYM(_Configuration_Interrupt_stack_area_end)
     69        .long   SYM(_ISR_Stack_area_end)
    7070edata_k:
    7171        .long   SYM(edata)
  • bsps/sh/gensh2/start/start.S

    re9f15be rff081aee  
    156156        .align 2
    157157stack_k:
    158         .long   SYM(_Configuration_Interrupt_stack_area_end)
     158        .long   SYM(_ISR_Stack_area_end)
    159159edata_k:
    160160        .long   SYM(edata)
  • bsps/sh/gensh2/start/start.ram

    re9f15be rff081aee  
    159159        .align 2
    160160stack_k:
    161         .long   SYM(_Configuration_Interrupt_stack_area_end)
     161        .long   SYM(_ISR_Stack_area_end)
    162162edata_k:
    163163        .long   SYM(edata)
  • bsps/sh/gensh2/start/start.rom

    re9f15be rff081aee  
    6868        .align 2
    6969stack_k:
    70         .long   SYM(_Configuration_Interrupt_stack_area_end)
     70        .long   SYM(_ISR_Stack_area_end)
    7171edata_k:
    7272        .long   SYM(edata)
  • bsps/sh/gensh4/start/start.S

    re9f15be rff081aee  
    216216        .long   SYM(_VBR_Saved)
    217217stack_k:
    218         .long   SYM(_Configuration_Interrupt_stack_area_end)
     218        .long   SYM(_ISR_Stack_area_end)
    219219__bss_start_k:
    220220        .long   __bss_start
  • bsps/sh/shsim/start/start.S

    re9f15be rff081aee  
    6969        .align 2
    7070stack_k:
    71         .long   SYM(_Configuration_Interrupt_stack_area_end)
     71        .long   SYM(_ISR_Stack_area_end)
    7272edata_k:
    7373        .long   SYM(edata)
  • bsps/sparc/shared/start/start.S

    re9f15be rff081aee  
    320320        set     SYM(rdb_start), %g5     ! End of RAM
    321321        st      %sp, [%g5]
    322         set     SYM(_Configuration_Interrupt_stack_size), %g5
     322        set     SYM(_ISR_Stack_size), %g5
    323323#if defined(START_LEON3_ENABLE_SMP)
    324324        add     %o0, 1, %o0
    325325        smul    %o0, %g5, %g5
    326326#endif
    327         set     SYM(_Configuration_Interrupt_stack_area_begin), %sp
     327        set     SYM(_ISR_Stack_area_begin), %sp
    328328        add     %sp, %g5, %sp
    329329        sub     %sp, 4, %sp             ! stack starts at end of area - 4
  • bsps/v850/gdbv850sim/start/start.S

    re9f15be rff081aee  
    1010        movea   255,            r0,     r20
    1111        mov     65535,          r21
    12         mov     hilo(__Configuration_Interrupt_stack_area_end), sp
     12        mov     hilo(__ISR_Stack_area_end),     sp
    1313        mov     hilo(__ep),     ep
    1414        mov     hilo(__gp),     gp
     
    3737        mov     r0,             r21
    3838        ori     65535,          r0,     r21
    39         movhi   hi(__Configuration_Interrupt_stack_area_end),   r0,     sp
    40         movea   lo(__Configuration_Interrupt_stack_area_end),   sp,     sp
     39        movhi   hi(__ISR_Stack_area_end),       r0,     sp
     40        movea   lo(__ISR_Stack_area_end),       sp,     sp
    4141        movhi   hi(__ep),       r0,     ep
    4242        movea   lo(__ep),       ep,     ep
  • cpukit/include/rtems/confdefs.h

    re9f15be rff081aee  
    11771177#ifdef CONFIGURE_INIT
    11781178  RTEMS_DEFINE_GLOBAL_SYMBOL(
    1179     _Configuration_Interrupt_stack_size,
     1179    _ISR_Stack_size,
    11801180    CONFIGURE_INTERRUPT_STACK_SIZE
    11811181  );
    11821182
    1183   char _Configuration_Interrupt_stack_area_begin[
     1183  char _ISR_Stack_area_begin[
    11841184    _CONFIGURE_MAXIMUM_PROCESSORS * CONFIGURE_INTERRUPT_STACK_SIZE
    11851185  ] RTEMS_ALIGNED( CPU_INTERRUPT_STACK_ALIGNMENT )
    11861186  RTEMS_SECTION( ".rtemsstack.interrupt.begin" );
    11871187
    1188   const char _Configuration_Interrupt_stack_area_end[ 0 ]
     1188  const char _ISR_Stack_area_end[ 0 ]
    11891189    RTEMS_SECTION( ".rtemsstack.interrupt.end" ) = { };
    11901190#endif
  • cpukit/include/rtems/config.h

    re9f15be rff081aee  
    3333
    3434#include <rtems/score/object.h>
     35#include <rtems/score/isr.h>
    3536#include <rtems/score/watchdog.h>
    3637#include <rtems/rtems/config.h>
     
    295296        (Configuration.idle_task_stack_size)
    296297
    297 /**
    298  * @brief Global symbol with a value equal to the configure interrupt stack size.
    299  *
    300  * This global symbol is defined by the application configuration option
    301  * CONFIGURE_INIT_TASK_STACK_SIZE via <rtems/confdefs.h>.
    302  */
    303 RTEMS_DECLARE_GLOBAL_SYMBOL( _Configuration_Interrupt_stack_size );
    304 
    305 /**
    306  * @brief The interrupt stack area begin.
    307  *
    308  * The interrupt stack area is defined by the application configuration via
    309  * <rtems/confdefs.h>.  The size of the area depends on
    310  * CONFIGURE_INIT_TASK_STACK_SIZE and CONFIGURE_MAXIMUM_PROCESSORS.
    311  */
    312 extern char _Configuration_Interrupt_stack_area_begin[];
    313 
    314 /**
    315  * @brief The interrupt stack area end.
    316  *
    317  * The interrupt stack area is defined by the application configuration via
    318  * <rtems/confdefs.h>.  The size of the area depends on
    319  * CONFIGURE_INIT_TASK_STACK_SIZE and CONFIGURE_MAXIMUM_PROCESSORS.
    320  */
    321 extern const char _Configuration_Interrupt_stack_area_end[];
    322 
    323298#define rtems_configuration_get_interrupt_stack_size() \
    324         ((size_t) _Configuration_Interrupt_stack_size)
     299        ((size_t) _ISR_Stack_size)
    325300
    326301#define rtems_configuration_get_stack_allocate_init_hook() \
  • cpukit/include/rtems/score/isr.h

    re9f15be rff081aee  
    7878
    7979/**
     80 * @brief Global symbol with a value equal to the configure interrupt stack size.
     81 *
     82 * This global symbol is defined by the application configuration option
     83 * CONFIGURE_INIT_TASK_STACK_SIZE via <rtems/confdefs.h>.
     84 */
     85RTEMS_DECLARE_GLOBAL_SYMBOL( _ISR_Stack_size );
     86
     87/**
     88 * @brief The interrupt stack area begin.
     89 *
     90 * The interrupt stack area is defined by the application configuration via
     91 * <rtems/confdefs.h>.  The size of the area depends on
     92 * CONFIGURE_INIT_TASK_STACK_SIZE and CONFIGURE_MAXIMUM_PROCESSORS.
     93 */
     94extern char _ISR_Stack_area_begin[];
     95
     96/**
     97 * @brief The interrupt stack area end.
     98 *
     99 * The interrupt stack area is defined by the application configuration via
     100 * <rtems/confdefs.h>.  The size of the area depends on
     101 * CONFIGURE_INIT_TASK_STACK_SIZE and CONFIGURE_MAXIMUM_PROCESSORS.
     102 */
     103extern const char _ISR_Stack_area_end[];
     104
     105/**
    80106 *  @brief Initialize the ISR handler.
    81107 *
  • cpukit/libmisc/stackchk/check.c

    re9f15be rff081aee  
    503503
    504504  stack.size = rtems_configuration_get_interrupt_stack_size();
    505   stack.area = _Configuration_Interrupt_stack_area_begin;
     505  stack.area = _ISR_Stack_area_begin;
    506506  cpu_max = rtems_configuration_get_maximum_processors();
    507507
  • cpukit/score/cpu/m68k/cpu.c

    re9f15be rff081aee  
    6363{
    6464#if ( M68K_HAS_SEPARATE_STACKS == 1 )
    65   uintptr_t isp = (uintptr_t) _Configuration_Interrupt_stack_area_end;
     65  uintptr_t isp = (uintptr_t) _ISR_Stack_area_end;
    6666
    6767  __asm__ volatile ( "movec %0,%%isp" : "=r" (isp) : "0" (isp) );
  • cpukit/score/src/isr.c

    re9f15be rff081aee  
    4949  stack_size = rtems_configuration_get_interrupt_stack_size();
    5050  cpu_max = rtems_configuration_get_maximum_processors();
    51   stack_low = _Configuration_Interrupt_stack_area_begin;
     51  stack_low = _ISR_Stack_area_begin;
    5252
    5353  for ( cpu_index = 0 ; cpu_index < cpu_max; ++cpu_index ) {
Note: See TracChangeset for help on using the changeset viewer.