mirror of https://github.com/ARMmbed/mbed-os.git
Fixes the bug of having &mbed_fault_context argument instead of mbed_fault_context in mbed_fault_handler.
parent
e4e6c645fa
commit
e90c5674d4
|
@ -150,7 +150,8 @@ Fault_Handler_Continue2
|
|||
MRS R2,CONTROL ; Get CONTROL Reg
|
||||
STR R2,[R1]
|
||||
MOV R0,R12
|
||||
LDR R1,=mbed_fault_context
|
||||
LDR R3,=mbed_fault_context
|
||||
LDR R1,[R3]
|
||||
BL mbed_fault_handler
|
||||
#endif
|
||||
B . ; Just in case we come back here
|
||||
|
|
|
@ -183,7 +183,8 @@ Fault_Handler_Continue2:
|
|||
MRS R2,CONTROL // Get CONTROL Reg
|
||||
STR R2,[R1]
|
||||
MOV R0,R12
|
||||
LDR R1,=mbed_fault_context
|
||||
LDR R3,=mbed_fault_context
|
||||
LDR R1,[R3]
|
||||
BL mbed_fault_handler
|
||||
#endif
|
||||
B . // Just in case we come back here
|
||||
|
|
|
@ -145,7 +145,8 @@ Fault_Handler_Continue2
|
|||
MRS R2,CONTROL ; Get CONTROL Reg
|
||||
STR R2,[R1]
|
||||
MOV R0,R12
|
||||
LDR R1,=mbed_fault_context
|
||||
LDR R3,=mbed_fault_context
|
||||
LDR R1,[R3]
|
||||
BL mbed_fault_handler
|
||||
#endif
|
||||
B . ; Just in case we come back here
|
||||
|
|
Loading…
Reference in New Issue