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>
This commit is contained in:
parent
fc5e6c6696
commit
522dcd1249
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue