HomeFreeBSD

arm64: simplify physmap usage in pmap_bootstrap()

Description

arm64: simplify physmap usage in pmap_bootstrap()

The subr_physmem.c facility provides guarantees about non-empty ranges.
Push this into pmap_bootstrap_dmap() and simplify; the lowest physical
memory range is always in the first item.

No functional change intended.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45759

Details

Provenance
mhorneAuthored on Jul 8 2024, 2:54 PM
Reviewer
markj
Differential Revision
D45759: arm64: simplify physmap usage in pmap_bootstrap()
Parents
rG558c1b37334c: busdma: avoid buflen underflow
Branches
Unknown
Tags
Unknown