Page MenuHomeFreeBSD

kboot: Method to populate the avail array from EFI map
ClosedPublic

Authored by imp on Apr 16 2025, 7:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 14, 4:04 PM
Unknown Object (File)
Thu, Mar 12, 5:45 AM
Unknown Object (File)
Sun, Mar 8, 5:41 AM
Unknown Object (File)
Fri, Feb 27, 4:39 AM
Unknown Object (File)
Tue, Feb 17, 3:33 PM
Unknown Object (File)
Tue, Feb 17, 3:33 PM
Unknown Object (File)
Mon, Feb 16, 1:14 PM
Unknown Object (File)
Feb 8 2026, 11:29 PM
Subscribers

Details

Summary

If we can get an efi memory map, populate_avail_from_efi will create an
avail array. We only use the regiions marked as 'free' to find a place
for the kernel to land. The other regions are also eligible, but usually
too small to materially affect where we'd put the kernel (not to worry,
the kernel will use that memory).

Sponsored by: Netflix

Diff Detail

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