mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: 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. BUG=None BRANCH=None TEST=None Signed-off-by: Jonathan Neuschfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/17593 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Change-Id: I2cd0bb3ab91e89805fed84ec87e4a48ce70c3a46 Reviewed-on: https://chromium-review.googlesource.com/417072 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
b3f01e9331
commit
da29c1c530
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue