diff options
author | Pixel <pixel@nobis-crew.org> | 2011-01-27 01:09:21 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-01-27 01:09:21 -0800 |
commit | bcb852cbc842433576945044590b8716932acbd4 (patch) | |
tree | 5843e100015010b03b5fe5b4641b19bf0323d86c /arch/arm/lpc17xx/startup.s | |
parent | e1122d5200cec30e239b18278e2bb5c7ec97a72b (diff) |
Blah. I can't code with stack anymore it seems. Fixing the crash handler so that SP, and R4-R11 are properly displayed.
Diffstat (limited to 'arch/arm/lpc17xx/startup.s')
-rw-r--r-- | arch/arm/lpc17xx/startup.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lpc17xx/startup.s b/arch/arm/lpc17xx/startup.s index 7537531..e7c5311 100644 --- a/arch/arm/lpc17xx/startup.s +++ b/arch/arm/lpc17xx/startup.s @@ -146,6 +146,7 @@ UsageFault_Handler: .type general_handler, %function general_handler: MOV R1, SP + SUB R1, #32 PUSH {R4-R11} B general_C_handler |