summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/riscv/bootblock.S15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/arch/riscv/bootblock.S b/src/arch/riscv/bootblock.S
index e75e1ca407..07d68ab851 100644
--- a/src/arch/riscv/bootblock.S
+++ b/src/arch/riscv/bootblock.S
@@ -17,20 +17,7 @@
#include <arch/encoding.h>
.section ".text._start", "ax", %progbits
-// Maybe there's a better way.
-# machine mode handler when in supervisor mode
-.space 0x140
-supervisor_machine_handler:
- j supervisor_trap_entry
-
-# handler for when
-.space 0x7c
-.globl machine_handler
-machine_handler:
-# call trap_handler
- j trap_entry
-
-.space 0x3c
+
.globl _start
_start: