Implement support for the RISC-V UEFI Boot Protocol. This provides us
authorkettenis <kettenis@openbsd.org>
Tue, 26 Mar 2024 22:26:04 +0000 (22:26 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 26 Mar 2024 22:26:04 +0000 (22:26 +0000)
commitf7b9cd43a797274db7730233a296bc2893df4f44
tree105bceb2786ba2ab85e7d7d0d92394d02d98e903
parenta6fec130fdc36d7ea9624f3ed92c5de88accf396
Implement support for the RISC-V UEFI Boot Protocol.  This provides us
the boot hart ID for firmware that doesn't provide it through the device
tree such as the EDK2-based firmware for the Sophgo SG2042 SoC.

ok patrick@, miod@
sys/arch/riscv64/stand/efiboot/Makefile
sys/arch/riscv64/stand/efiboot/conf.c
sys/arch/riscv64/stand/efiboot/efiboot.c
sys/arch/riscv64/stand/efiboot/efiboot.h
sys/arch/riscv64/stand/efiboot/efiriscv.c [new file with mode: 0644]