HomeFreeBSD

dev/fdt: Add fdt_foreach_reserved_region

Description

dev/fdt: Add fdt_foreach_reserved_region

As with fdt_foreach_mem_region add a function that calls a callback
for each reserved memory region in /memreserve. This allows us to
exclude this memory from the physical map in a way that is safe from
overflowing a fixed array on the stack.

Reviewed by: imp
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D49699

Details

Provenance
andrewAuthored on Apr 8 2025, 10:30 AM
Reviewer
imp
Differential Revision
D49699: dev/fdt: Add fdt_foreach_reserved_region
Parents
rG8d5b63efd19c: dev/fdt: Add fdt_foreach_reserved_mem
Branches
Unknown
Tags
Unknown