HomeFreeBSD

kboot: Add parsing of /proc/iomem into seg.c

Description

kboot: Add parsing of /proc/iomem into seg.c

We'll be using this code for most / all of the platforms since iomem is
the only interface that can tell us of the reserved to the linux kernel
areas that we cannot place the new kernel into, but that we are free to
use once we hit trampoline. aarch64 will use this shortly, and similar
code in amd64 will be refactored when I make that platform work.

Sponsored by: Netflix
Reviewed by: tsoome
Differential Revision: https://reviews.freebsd.org/D38309

Details

Provenance
impAuthored on Feb 3 2023, 3:38 PM
Reviewer
tsoome
Differential Revision
D38309: kboot: Add parsing of /proc/iomem into seg.c
Parents
rG08779e839ac1: kboot: Create segment handling code at main level
Branches
Unknown
Tags
Unknown