Page MenuHomeFreeBSD

kboot/amd64: Use common routines for memory map parsing
ClosedPublic

Authored by imp on Apr 16 2025, 7:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 23, 4:40 PM
Unknown Object (File)
Tue, May 6, 8:58 AM
Unknown Object (File)
May 2 2025, 8:38 PM
Unknown Object (File)
Apr 29 2025, 2:48 AM
Unknown Object (File)
Apr 23 2025, 3:43 PM
Unknown Object (File)
Apr 23 2025, 2:31 AM
Unknown Object (File)
Apr 22 2025, 11:28 AM
Unknown Object (File)
Apr 20 2025, 10:52 PM
Subscribers

Details

Summary

Use populate_avail_from_iomem and efi_read_from_sysfs from the
refactored work rather than replicating them (imperfectly) here.

Note: memmap might need to be revisited. EFI memory maps are complex on
x86 and we might need to reconstruct it from /sys/firmware/memmap as
well as using that for the BIOS case, should we ever want to support
that again (hardware makes no sense, but many VM hosting services use
that). For now, we're going all in on EFI, though, and will revisit what
to do about BIOS later. The zfsboot project suggests BIOS support isn't
really that hard (but is a distraction atm).

Sponsored by: Netflix

Diff Detail

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