Ignore:
Timestamp:
Nov 20, 2017, 6:45:15 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
c597fb1
Parents:
3d374d9
git-author:
Sebastian Huber <sebastian.huber@…> (11/20/17 06:45:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/17 06:53:09)
Message:

bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLER

For the SPE support we must store the upper half of r3 as well.

Update #3085.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/powerpc/rtems/score/cpuimpl.h

    r3d374d9 r5018894e  
    4343  #define PPC_EXC_GPR_OFFSET(gpr) \
    4444    ((gpr) * PPC_GPR_SIZE + PPC_EXC_INTERRUPT_FRAME_OFFSET + PPC_REG_SIZE)
    45   #define PPC_EXC_VECTOR_PROLOGUE_OFFSET PPC_EXC_GPR_OFFSET(4)
     45  #define PPC_EXC_GPR3_PROLOGUE_OFFSET PPC_EXC_GPR_OFFSET(3)
    4646  #if defined(PPC_MULTILIB_ALTIVEC) && defined(PPC_MULTILIB_FPU)
    4747    #define PPC_EXC_VRSAVE_OFFSET PPC_EXC_GPR_OFFSET(33)
     
    8383  #define PPC_EXC_ACC_OFFSET 48
    8484  #define PPC_EXC_GPR_OFFSET(gpr) ((gpr) * PPC_GPR_SIZE + 56)
    85   #define PPC_EXC_VECTOR_PROLOGUE_OFFSET (PPC_EXC_GPR_OFFSET(4) + 4)
     85  #define PPC_EXC_GPR3_PROLOGUE_OFFSET (PPC_EXC_GPR_OFFSET(3) + 4)
    8686  #define CPU_INTERRUPT_FRAME_SIZE (160 + PPC_STACK_RED_ZONE_SIZE)
    8787  #define PPC_EXC_FRAME_SIZE 320
Note: See TracChangeset for help on using the changeset viewer.