diff options
author | Pixel <pixel@nobis-crew.org> | 2011-01-27 21:19:47 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-01-27 21:19:47 -0800 |
commit | bcfc9ad0a5d72f6d49fa96f221fdcb0930862539 (patch) | |
tree | bfa3d553290c3fef1e518afb7d6beda18acbe577 /arch/arm/lpc17xx/startup.s | |
parent | d15180e03ed30deb56e929d5007a4977cc7a9bd5 (diff) |
Slightly more stable crash handler.
Diffstat (limited to 'arch/arm/lpc17xx/startup.s')
-rw-r--r-- | arch/arm/lpc17xx/startup.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lpc17xx/startup.s b/arch/arm/lpc17xx/startup.s index d0917b6..86365c1 100644 --- a/arch/arm/lpc17xx/startup.s +++ b/arch/arm/lpc17xx/startup.s @@ -169,9 +169,9 @@ UsageFault_Handler: MOV R0, 6 .type general_handler, %function general_handler: - MOV R1, SP - SUB R1, #32 PUSH {R4-R11} + MOV R1, SP + MOV R2, LR MOV R4, LR BL general_C_handler AND R0, #7 |