Page MenuHomeFreeBSD

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

Authored by imp on Wed, Apr 16, 7:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 22, 11:29 AM
Unknown Object (File)
Sun, Apr 20, 10:26 PM
Unknown Object (File)
Sun, Apr 20, 7:25 PM
Unknown Object (File)
Sun, Apr 20, 1:39 AM
Unknown Object (File)
Sat, Apr 19, 8:54 PM
Unknown Object (File)
Sat, Apr 19, 8:08 PM
Unknown Object (File)
Sat, Apr 19, 1:34 PM
Unknown Object (File)
Sat, Apr 19, 9:15 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 Not Applicable
Unit
Tests Not Applicable