HomeFreeBSD

dev/fdt: Add fdt_foreach_reserved_mem

Description

dev/fdt: Add fdt_foreach_reserved_mem

As with fdt_foreach_mem_region add a function that calls a callback
for each reserved memory region. 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/D49698

Details

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