Changeset cecc109 in rtems


Ignore:
Timestamp:
Jul 28, 2016, 8:48:02 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f383f4bf
Parents:
6446773
git-author:
Sebastian Huber <sebastian.huber@…> (07/28/16 08:48:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/28/16 08:50:12)
Message:

bsp/qoriq: Fix start stack setup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/start/start.S

    r6446773 rcecc109  
    211211        isync
    212212
    213         /* Initialize start stack */
    214         subi    r1, START_STACK, PPC_MINIMUM_STACK_FRAME_SIZE
    215         clrrwi  r1, r1, PPC_STACK_ALIGN_POWER
     213        /*
     214         * Initialize start stack.  Make sure that we do not share a cache line
     215         * with the heap block management, since initial stacks for the
     216         * secondary processors are allocated from the workspace.
     217         */
     218        subi    r1, START_STACK, 2 * PPC_DEFAULT_CACHE_LINE_SIZE
     219        clrrwi  r1, r1, PPC_DEFAULT_CACHE_LINE_POWER
    216220        li      r0, 0
    217221        stw     r0, 0(r1)
Note: See TracChangeset for help on using the changeset viewer.