HomeFreeBSD

Add two fake properties ("fdtbootcpu" and "fdtmemreserv") to the device

Description

Add two fake properties ("fdtbootcpu" and "fdtmemreserv") to the device
tree's /chosen node to provide out-of-band header fields of the FDT. This
emulation is not perfect without corresponding changes to ofw_fdt_nextprop(),
but is enough to enable lookup by memory-map-parsing code.

MFC after: 1 week

Details

Provenance
nwhitehornAuthored on
Parents
rS277256: Instead of iterating through all properties looking for a match, if asked
Branches
Unknown
Tags
Unknown

Event Timeline