mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
bsps/powerpc: Fix ppc_exc_interrupt not saving r3 correctly
On SPE enabled builds the extended bits of r3 need to be saved separately to the stack. Make ppc_exc_interrupt to do that correctly. Fixes #5389
This commit is contained in:
@@ -106,7 +106,7 @@ ppc_exc_interrupt:
|
||||
* Save high order part of SCRATCH_1_REGISTER here. The low order part
|
||||
* was saved in the minimal prologue.
|
||||
*/
|
||||
evmergehi SCRATCH_1_REGISTER, SCRATCH_1_REGISTER, FRAME_REGISTER
|
||||
evmergehi FRAME_REGISTER, SCRATCH_1_REGISTER, SCRATCH_1_REGISTER
|
||||
PPC_REG_STORE FRAME_REGISTER, GPR3_OFFSET(r1)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user