Which code creates the IODeviceTree?
Which code creates the IODeviceTree?
- Subject: Which code creates the IODeviceTree?
- From: Thomas Tempelmann <email@hidden>
- Date: Tue, 23 Jun 2009 22:17:35 +0200
I've been looking for hours for an answer to this, please help:
IO Device / kext matching is done via the Device Tree, as far as I
know. And the device tree, according to Amit Singh's book, exists
already before the kernel gets started. Hence, either the Open
Firmware / EFI ROM or the bootloader must be creating it and pass it
to the kernel, doesn't it?
Since I want to see if I can patch the tree before the kernel starts
matching kexts on it, I need to find the code that creates it in
memory and passes it to the kernel. I've looked at the boot loader
code but cannot find anything that does this.
Does someone know how this actually works?
--
Thomas Tempelmann, http://www.tempel.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden