Re: IODeviceTree Parsing

Steven Woolgar <Steven_Woolgar-15o08GXfgDtWk0Htik3J/[email protected]> Fri, 18 Jun 2010 10:34:03 -0700
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Fri, 18 Jun 2010 13:13:50 -0400, Colin Swelin wrote:
> Hey,
> 
> I'm looking for some sort of a example on how to parse the 
> IODeviceTree programmatically, for example, I'm trying to get the 
> information in IODeviceTree:/memory -- but I cant seem to figure out 
> how or find any examples on how to do so.

Older versions of the CoreFoundation and driver dev code used to have 
the IORegistryExplorer source code.  That is how I figured it out.
Look for IOKitTools-57.1 source drop.

W.