Page MenuHomeFreeBSD

[PPC64] Fix ofw_initrd

Authored by luporl on Jun 7 2019, 5:14 PM.
Referenced Files
Unknown Object (File)
Sun, May 28, 1:58 PM
Unknown Object (File)
Fri, May 19, 12:26 AM
Unknown Object (File)
Fri, May 19, 12:25 AM
Unknown Object (File)
Fri, May 19, 12:24 AM
Unknown Object (File)
Sun, May 14, 6:31 PM
Unknown Object (File)
Sat, May 13, 8:33 AM
Unknown Object (File)
Mon, May 8, 4:23 AM
Unknown Object (File)
Apr 25 2023, 6:51 PM



Before this change, OFW initrd (as md) handling code was simulating an
ofwbus device. But as there isn't really a Device Tree (DT) node
representing OFW initrd (it is specified in 2 properties under
/chosen), its driver was in fact stealing other driver's DT node.
This was noticed after MD_ROOT_MEM became default and QEMU's USB
keyboard stopped working under VNC.

This change consists in simplifying the process of detection and mapping of initrd memory,
turning it into a simple startup step, instead of trying to simulate a device.

Diff Detail

rS FreeBSD src repository - subversion
Lint Not Applicable
Tests Not Applicable