opnsense-src/stand/efi/loader
Colin Percival 5c73b3e0a3 Add support for getting early entropy from UEFI
UEFI provides a protocol for accessing randomness. This is a good way
to gather early entropy, especially when there's no driver for the RNG
on the platform (as is the case on the Marvell Armada8k (MACCHIATObin)
for now).

If the entropy_efi_seed option is enabled in loader.conf (default: YES)
obtain 2048 bytes of entropy from UEFI and pass is to the kernel as a
"module" of name "efi_rng_seed" and type "boot_entropy_platform"; if
present, ingest it into the kernel RNG.

Submitted by:	Greg V
Reviewed by:	markm, kevans
Approved by:	csprng (markm)
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D20780
2022-02-17 13:01:11 -08:00
..
arch Don't sync the I/D caches when they are coherent 2021-12-20 13:58:13 +00:00
autoload.c loader: fdt: Add fdt_is_setup function 2019-04-25 20:08:43 +00:00
bootinfo.c loader: abstract boot services exiting to libefi function 2021-11-21 09:05:07 -07:00
conf.c Loader: support booting OS from memory disk (MD) 2021-04-07 13:40:57 -05:00
copy.c efi: switch boot_services_gone to boot_services_active 2021-11-04 10:07:54 -06:00
efi_main.c efi loader: Call tslog_init from efi_main 2021-09-25 12:06:07 -07:00
efiserialio.c Fix the efi serial console in the Arm models. 2020-06-10 09:31:37 +00:00
framebuffer.c loader.efi: to preserve heap space, use AllocatePages() for shadow_fb 2021-12-22 11:39:28 +02:00
framebuffer.h loader.efi: reworked framebuffer setup 2021-01-12 13:07:27 +02:00
loader_efi.h amd64 UEFI loader: stop copying staging area to 2M physical 2021-08-08 22:52:29 +03:00
main.c Add support for getting early entropy from UEFI 2022-02-17 13:01:11 -08:00
Makefile stand/efi: Pass --no-dynamic-linker to ld.bfd >= 2.34. 2022-02-02 12:18:43 -08:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
version