[rtems commit] bsp/t32mppc: PPC_EXC_CONFIG_USE_FIXED_HANDLER
Sebastian Huber
sebh at rtems.org
Thu Sep 21 11:33:21 UTC 2017
Module: rtems
Branch: master
Commit: b800f88a6370c1f090629c4d942443a9d4bede9c
Changeset: http://git.rtems.org/rtems/commit/?id=b800f88a6370c1f090629c4d942443a9d4bede9c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Sep 21 13:32:12 2017 +0200
bsp/t32mppc: PPC_EXC_CONFIG_USE_FIXED_HANDLER
Fix link-time error.
Update #3085.
---
c/src/lib/libbsp/powerpc/t32mppc/start/start.S | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/t32mppc/start/start.S b/c/src/lib/libbsp/powerpc/t32mppc/start/start.S
index ef4c507..f491437 100644
--- a/c/src/lib/libbsp/powerpc/t32mppc/start/start.S
+++ b/c/src/lib/libbsp/powerpc/t32mppc/start/start.S
@@ -111,10 +111,10 @@ bsp_exc_vector_base:
stw r4, GPR4_OFFSET(r1)
li r4, 4
b ppc_exc_wrap_nopush_std
- stwu r1, -PPC_EXC_INTERRUPT_FRAME_SIZE(r1)
- stw r4, PPC_EXC_VECTOR_PROLOGUE_OFFSET(r1)
+ stwu r1, -EXC_GENERIC_SIZE(r1)
+ stw r4, GPR4_OFFSET(r1)
li r4, -32763
- b ppc_exc_interrupt
+ b ppc_exc_wrap_nopush_std
stwu r1, -EXC_GENERIC_SIZE(r1)
stw r4, GPR4_OFFSET(r1)
li r4, 6
@@ -135,14 +135,14 @@ bsp_exc_vector_base:
stw r4, GPR4_OFFSET(r1)
li r4, 24
b ppc_exc_wrap_nopush_std
- stwu r1, -PPC_EXC_INTERRUPT_FRAME_SIZE(r1)
- stw r4, PPC_EXC_VECTOR_PROLOGUE_OFFSET(r1)
+ stwu r1, -EXC_GENERIC_SIZE(r1)
+ stw r4, GPR4_OFFSET(r1)
li r4, -32752
- b ppc_exc_interrupt
- stwu r1, -PPC_EXC_INTERRUPT_FRAME_SIZE(r1)
- stw r4, PPC_EXC_VECTOR_PROLOGUE_OFFSET(r1)
+ b ppc_exc_wrap_nopush_std
+ stwu r1, -EXC_GENERIC_SIZE(r1)
+ stw r4, GPR4_OFFSET(r1)
li r4, -32749
- b ppc_exc_interrupt
+ b ppc_exc_wrap_nopush_std
stw r1, ppc_exc_lock_crit at sdarel(r13)
stw r4, ppc_exc_vector_register_crit at sdarel(r13)
li r4, -32748
More information about the vc
mailing list