summaryrefslogtreecommitdiff
path: root/src/arch/riscv/sbi.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/sbi.S')
-rw-r--r--src/arch/riscv/sbi.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/riscv/sbi.S b/src/arch/riscv/sbi.S
index f4d5411879..528e4ca048 100644
--- a/src/arch/riscv/sbi.S
+++ b/src/arch/riscv/sbi.S
@@ -92,11 +92,13 @@ sbi_page:
.align 4
/* -1872: int sbi_mask_interrupt(int which); */
- ebreak
+ li a0, 0 # dummy
+ jr ra
.align 4
/* -1856: int sbi_unmask_interrupt(int which); */
- ebreak
+ li a0, 0 # dummy
+ jr ra
.align 4
/* -1840: void sbi_remote_sfence_vm(const uintptr_t* harts,