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
F137825860: D49862.id153808.diff
Wed, Nov 26, 4:39 AM
Unknown Object (File)
Mon, Nov 24, 8:15 PM
Unknown Object (File)
Mon, Nov 24, 8:15 PM
Unknown Object (File)
Mon, Nov 24, 8:14 PM
Unknown Object (File)
Tue, Nov 18, 1:23 AM
Unknown Object (File)
Sat, Nov 1, 1:16 AM
Unknown Object (File)
Wed, Oct 29, 7:22 AM
Unknown Object (File)
Wed, Oct 29, 4:57 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 63547
Build 60431: arc lint + arc unit