summaryrefslogtreecommitdiff
path: root/src/asm/trap.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm/trap.S')
-rw-r--r--src/asm/trap.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/asm/trap.S b/src/asm/trap.S
new file mode 100644
index 0000000..672efcd
--- /dev/null
+++ b/src/asm/trap.S
@@ -0,0 +1,6 @@
+.section .text
+.global asm_trap_vector
+asm_trap_vector:
+ # We get here when the CPU is interrupted
+ # for any reason.
+ mret