freebsd-dev/stand/efi/libefi
Mitchell Horne 2192efc03b RISC-V boot1.efi and loader.efi support
This implementation doesn't have any major deviations from the other EFI
ports. I've copied the boilerplate from arm and arm64.

I've tested this with the following boot flows:
OpenSBI (M-mode) -> u-boot (S-mode) -> loader.efi -> FreeBSD
OpenSBI (M-mode) -> u-boot (S-mode) -> boot1.efi -> loader.efi -> FreeBSD

Due to the way that u-boot handles secondary CPUs, OpenSBI >= v0.7 is required,
as the HSM extension is needed to bring them up explicitly. Because of this,
using BBL as the SBI implementation will not be possible. Additionally, there
are a few recent u-boot changes that are required as well, all of which will be
present in the upcoming v2020.07 release.

Looks good:	emaste
Differential Revision:	https://reviews.freebsd.org/D25135
2020-07-06 18:19:42 +00:00
..
delay.c Simplify the EFI delay() function by calling BS->Stall() 2018-10-26 21:57:22 +00:00
devicename.c Start to reduce the number of #ifdef EFI_ZFS_BOOT 2019-04-20 05:31:56 +00:00
devpath.c loader.efi: efipart needs better support detecting nested partitions 2019-11-30 09:11:28 +00:00
efi_console.c loader.efi: restore the init and fix the color setup 2020-03-28 22:37:50 +00:00
efi_driver_utils.c connect_controllers() is missing NULL pointer check 2020-02-20 08:55:18 +00:00
efichar.c utf8_to_ucs2() should check for malloc failure 2018-01-16 20:35:54 +00:00
efienv.c Add efi_freebsd_delenv 2019-04-25 20:09:49 +00:00
efihttp.c stand: remove redundant declarations 2020-06-23 23:52:43 +00:00
efinet.c efinet_dev_init() is missing NULL pointer check 2020-02-20 08:48:34 +00:00
efipart.c efipart_inithandles() is missing NULL pointer check 2020-02-20 08:56:56 +00:00
efizfs.c insert_zfs() is missing NULL pointer check 2020-02-20 09:00:20 +00:00
env.c Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
errno.c
handles.c efi_register_handles() is missing NULL pointer check 2020-02-20 09:02:59 +00:00
libefi.c loader.efi: efilib.h and libefi.c were left out of 350654 2019-08-06 20:13:28 +00:00
Makefile RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
time_event.c
time.c
wchar.c Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00