Jump to content
1 post in this topic

Recommended Posts

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?

×
×
  • Create New...