freebsd-skq/stand/efi/loader
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
..
arch RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
autoload.c loader: fdt: Add fdt_is_setup function 2019-04-25 20:08:43 +00:00
bootinfo.c Add retry loop around GetMemoryMap call to fix fragmentation bug 2019-03-06 05:39:40 +00:00
conf.c loader: add comconsole implementation on top of SIO protocol 2020-03-14 06:36:03 +00:00
copy.c RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
efi_main.c loader.efi: replace HandleProtocol() with OpenProtocol() 2019-08-06 19:27:27 +00:00
efiserialio.c Fix the efi serial console in the Arm models. 2020-06-10 09:31:37 +00:00
framebuffer.c loader.efi: update console after gfx mode change 2020-06-14 10:13:40 +00:00
framebuffer.h
loader_efi.h veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
main.c RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
Makefile Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
version