1) Finish eliminating all uses of EFI_CALL() used in the tree, allowing for the
authorkrw <krw@openbsd.org>
Fri, 25 Jun 2021 17:49:49 +0000 (17:49 +0000)
committerkrw <krw@openbsd.org>
Fri, 25 Jun 2021 17:49:49 +0000 (17:49 +0000)
commitf1364bb785575b152e1362ce66e0ead87c8ea23b
treeec9f60454cb4dd21082d27f53f46b10ef74a514d
parent415019cefb419ee80cf82fd1b09b724a4fddde9b
1) Finish eliminating all uses of EFI_CALL() used in the tree, allowing for the
removal of eficall.h files.

2) Allow booting from 4k-byte sector devices.

3) Don't leak memory after successfull i/o.

The end result is that riscv64 efidev.c and efipxe.c are identical to the
arm64/armv7 versions, efirng.c is identical to the amd64/arm64 versions and
efiboot.c has only the arm64 -> riscv64 changes.

ok kettenis@
sys/arch/riscv64/stand/efiboot/efiboot.c
sys/arch/riscv64/stand/efiboot/efidev.c
sys/arch/riscv64/stand/efiboot/efipxe.c
sys/arch/riscv64/stand/efiboot/efirng.c