aboutsummaryrefslogtreecommitdiff
path: root/src/arm/PL1/kernel/interrupt_vector.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/PL1/kernel/interrupt_vector.S')
-rw-r--r--src/arm/PL1/kernel/interrupt_vector.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arm/PL1/kernel/interrupt_vector.S b/src/arm/PL1/kernel/interrupt_vector.S
index 1ec80f7..3afc193 100644
--- a/src/arm/PL1/kernel/interrupt_vector.S
+++ b/src/arm/PL1/kernel/interrupt_vector.S
@@ -8,9 +8,12 @@ _interrupt_vectors:
b irq_handler_caller
b fiq_handler_caller
+// from what I've heard, reset is never used on the Pi;
+// in our case it should run once - when stage1 of the kernel
+// jumps to stage2
reset_handler_caller:
ldr sp, =_supervisor_stack_top
- ldr r5, =reset_handler
+ ldr r5, =setup
bx r5
undef_handler_caller: