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:
Jonathan Neuschäfer 2016-11-24 08:10:13 +01:00 committed by Ronald G. Minnich
parent fc5e6c6696
commit 522dcd1249
1 changed files with 4 additions and 2 deletions

View File

@ -92,11 +92,13 @@ sbi_page:
.align 4 .align 4
/* -1872: int sbi_mask_interrupt(int which); */ /* -1872: int sbi_mask_interrupt(int which); */
ebreak li a0, 0 # dummy
jr ra
.align 4 .align 4
/* -1856: int sbi_unmask_interrupt(int which); */ /* -1856: int sbi_unmask_interrupt(int which); */
ebreak li a0, 0 # dummy
jr ra
.align 4 .align 4
/* -1840: void sbi_remote_sfence_vm(const uintptr_t* harts, /* -1840: void sbi_remote_sfence_vm(const uintptr_t* harts,