Page MenuHomeFreeBSD

riscv: parse memory regions from EFI map header
ClosedPublic

Authored by mhorne on Tue, Feb 25, 6:10 PM.
Tags
None
Referenced Files
F112765879: D49131.diff
Sat, Mar 22, 12:16 PM
Unknown Object (File)
Fri, Mar 14, 6:34 AM
Unknown Object (File)
Tue, Mar 4, 5:18 PM
Unknown Object (File)
Tue, Mar 4, 8:09 AM
Unknown Object (File)
Mon, Mar 3, 8:07 PM
Unknown Object (File)
Mon, Mar 3, 5:54 PM
Unknown Object (File)
Mon, Mar 3, 12:52 PM
Unknown Object (File)
Sun, Mar 2, 3:49 PM
Subscribers

Details

Summary

Using the newly isolated efi_map interface.

The primary goal is a greater adherence to the EFI firmware's view of
memory, and protection of its reserved regions. This is a better source
of truth than the device tree.

For example, regions marked as RuntimeServicesData must be excluded from
general memory allocations for EFI runtime services to eventually be
enabled on the platform (planned but not currently in progress).

The secondary impact is when loading a new/custom device tree via
loader(8); use of the EFI map ensures that reservations made by firmware
(OpenSBI, u-boot) are maintained.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable