Ignore:
Timestamp:
Nov 15, 2018, 7:47:22 PM (11 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
508f319e
Parents:
cc61d5c
git-author:
Sebastian Huber <sebastian.huber@…> (11/15/18 19:47:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/19/18 06:15:47)
Message:

bsps/powerpc: Use interrupt stack for init stack

Move start.o to separate file.

Update #3459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/virtex/start/start.S

    rcc61d5c r84e59b7c  
    4848.endr
    4949
    50         /* Start stack area */
    51 .rept BSP_START_STACK_SIZE / 4
    52         b       twiddle
    53 .endr
    54 
    5550_start:
    5651
     
    6055        mtspr   TBWL, r0
    6156
    62         /* Initialize start stack */
    63         LWI     r1, _start
    64         stwu    r0, -4(r1)
    65         stwu    r0, -4(r1)
     57        /*
     58         * Initialize start stack.  The stacks are statically allocated and
     59         * properly aligned.
     60         */
     61        LA      r1, _ISR_Stack_area_end
     62        subi    r1, r1, PPC_DEFAULT_CACHE_LINE_SIZE
     63        stw     r0, 0(r1)
    6664
    6765        /* Copy fast text */
Note: See TracChangeset for help on using the changeset viewer.