From 727c347d07091eaeee267a4eb1ce807d32b7178f Mon Sep 17 00:00:00 2001 From: ElementG9 Date: Wed, 2 Oct 2019 09:19:58 -0600 Subject: [PATCH] Fix typo Simple fix for https://github.com/jsandler18/raspi-kernel/issues/8 --- src/kernel/interrupt_vector.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/interrupt_vector.S b/src/kernel/interrupt_vector.S index 2c2c201..50adc43 100644 --- a/src/kernel/interrupt_vector.S +++ b/src/kernel/interrupt_vector.S @@ -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