diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2016-11-24 08:10:13 +0100 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2016-12-06 18:49:19 +0100 |
commit | 522dcd1249d577c1828cb49f6cd300bc11c6f914 (patch) | |
tree | d3eb4f22d4cb455820a0d96e491be6a453a3a993 /src/arch | |
parent | fc5e6c6696b7c7f6af0311dbb0870602b12bed73 (diff) |
riscv: Stub out sbi_(un)mask_interrupt
Linux needs these SBI calls, but so far it seems to work when they don't
do anything.
Change-Id: I2cd0bb3ab91e89805fed84ec87e4a48ce70c3a46
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/17593
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/riscv/sbi.S | 6 |
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, |