Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/kernel/interrupt_vector.S
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ move_exception_vector:
blx lr

irq_handler_asm_wrapper:
sub lr, lr, #4 // Adjsut return address
sub lr, lr, #4 // Adjust return address
srsdb sp!, #0x13 // Save irq lr and irq spsp to supervisor stack, and save the resulting stack pointer as the current stack pointer
cpsid if, #0x13 // Switch to supervisor mode with interrupts disabled
push {r0-r3, r12, lr}// Save the caller save registers
Expand Down