Page MenuHomeFreeBSD

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

Authored by imp on Wed, Apr 16, 7:23 PM.
Tags
None
Referenced Files
F115309430: D49864.diff
Tue, Apr 22, 11:28 AM
Unknown Object (File)
Sun, Apr 20, 10:52 PM
Unknown Object (File)
Sun, Apr 20, 10:49 PM
Unknown Object (File)
Sun, Apr 20, 9:45 PM
Unknown Object (File)
Sun, Apr 20, 7:03 PM
Unknown Object (File)
Sat, Apr 19, 9:41 PM
Unknown Object (File)
Sat, Apr 19, 9:11 PM
Unknown Object (File)
Sat, Apr 19, 8:51 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 63549
Build 60433: arc lint + arc unit