Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

ADC Home > Reference Library > Technical Q&As > Hardware & Drivers > Apple Hardware >

Is the Open Firmware device tree object oriented?


Q: I've been investigating the Open Firmware device tree and it seems to be an object-oriented structure. Is that correct?

A: Yes, and purposely so. This allows the devices to call their parent for services. When a device is opened, its ascendants are opened from the top down. Of course, this allows for each child to use the services of its parent, starting at the root of the device tree. Thus, devices will only have to be concerned with device-specific matters. Functionality common to all devices will be integrated into higher branches of the device tree.

[Nov 15 1999]




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.