thanks, it is very helpful for me.

BTW,

The following steps explain the device tree construction. But it does not 
handle the pseudo device.
So I also want to know how the pseudo device node is added on the device tree.

The system goes through the following steps to build the tree:
1. The CPU is initialized and searches for firmware.
2. The main firmware (OpenBoot, Basic Input/Output System (BIOS), or Bootconf) 
initializes and creates the device tree with known or self-identifying hardware.
3. When the main firmware finds compatible firmware on a device, the main 
firmware initializes the device and retrieves the device's properties.
4. The firmware locates and boots the operating system.
5. The kernel starts at the root node of the tree, searches for a matching 
device driver, and binds that driver to the device.
6. If the device is a nexus, the kernel looks for child devices that have not 
been detected by the firmware. The kernel adds any child devices to the tree 
below the nexus node.
7.The kernel repeats the process from Step 5 until no further device nodes need 
to be created.
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to