tempel Posted June 23, 2009 Share Posted June 23, 2009 I am looking at the "boot2" code in Chameleon 2.0 r431's source. I try to find the code that creates the Device Tree containing the actual devices of the PC, including their Device IDs and other properties. First I thought it was happening in finalizeBootStruct() of "bootstruct.c", but at that point only a few items are in the DT ("chosen", "options", efi"), but no hardware. And I cannot find any other references to bootArgs->deviceTreeP, which is, as I understand, the pointer to the device tree that the kernel gets, isn't it? Link to comment https://www.insanelymac.com/forum/topic/172023-where-is-the-code-that-inserts-the-hardware-into-io-registry/ Share on other sites More sharing options...
Recommended Posts