freebsd-skq/stand/common
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
..
bcache.c
boot.c
bootstrap.h stand: remove redundant declarations 2020-06-23 23:52:43 +00:00
commands.c
console.c
dev_net.c
dev_net.h
devopen.c
disk.c
disk.h
help.common
install.c Minor cleanup of initialized variables 2020-06-12 21:48:46 +00:00
interp_backslash.c
interp_forth.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
interp_lua.c lualoader: drop the filename and word "LUA" from errors 2020-06-03 18:29:32 +00:00
interp_parse.c
interp_simple.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
interp.c loader: fix userboot's ability to detect a guest's interpreter 2020-05-20 21:02:08 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
load_elf.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
ls.c
Makefile.depend
md.c
merge_help.awk
metadata.c
misc.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
module.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
newvers.sh
part.c loader: variable i is unused without MBR/GPT support built in 2020-06-16 07:05:03 +00:00
part.h
paths.h
pnp.c
rbx.h
readin.h veloader use vectx API for kernel and modules 2020-03-08 18:48:01 +00:00
reloc_elf32.c
reloc_elf64.c
reloc_elf.c Remove sparc relocation support from reloc_elf.c. 2020-05-01 16:47:54 +00:00
self_reloc.c RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
vdisk.c
zfs_cmd.c loader: zfs_cmd.c does not really compile without libzfs.h 2020-06-16 07:30:34 +00:00