arm is callee save

This commit is contained in:
Corwin Kuiper 2021-06-26 21:59:10 +01:00
parent e22564a29c
commit f1a2b76d28

View file

@ -28,10 +28,10 @@ InterruptHandlerSimple:
@ call the rust interrupt handler with r0 set to the triggered interrupts
ldr r1, =__RUST_INTERRUPT_HANDLER
push {lr, r4-r11}
push {lr}
mov lr, pc
bx r1
pop {lr, r4-r11}
pop {lr}
@ change back to interrupt mode
mrs r2, cpsr