]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[riscv] Support older SBI implementations
authorMichael Brown <mcb30@ipxe.org>
Sun, 25 May 2025 08:28:11 +0000 (09:28 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 25 May 2025 09:43:39 +0000 (10:43 +0100)
commit8d88870da59e93202d1cff4504f2fd2d2fa139cd
treef74931b3fbc35e6766c5feb827831dbae6a8868b
parent036e43334ad94125dfe212480957fd397e51a053
[riscv] Support older SBI implementations

Fall back to attempting the legacy SBI console and shutdown calls if
the standard calls fail.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/riscv/include/ipxe/sbi.h
src/arch/riscv/interface/sbi/sbi_console.c
src/arch/riscv/interface/sbi/sbi_reboot.c
src/arch/riscv/prefix/libprefix.S