Mac Dev Center Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access I/O Kit Framework Reference
|
IOFireWireLocalUnitDirectoryInterface |
Declared In: |
Allows creation and management of unit directories in the config ROM of the local machine. After the unit directory has been built, Publish() should be called to cause it to appear in the config ROM. Unpublish() has the reverse effect as Publish().
This interface can be created using IOFireWireDeviceInterface::CreateLocalUnitDirectory.
Append an offset leaf
Append a data leaf
Append an immediate leaf
Causes a constructed or updated unit directory to appear in the local machine's config ROM. Note that this call will cause a bus reset, after which the unit directory will be visible to devices on the bus.
Has the opposite effect from Publish(). This call removes a unit directory from the local machine's config ROM. Note that this call will cause a bus reset, after which the unit directory will no longer appear to devices on the bus.
AddEntry_FWAddress |
Append an offset leaf
IOReturn ( *AddEntry_FWAddress)( IOFireWireLibLocalUnitDirectoryRef self, int key, const FWAddress* value, CFStringRef inDesc);
self
The local unit directory interface to use.
key
The config ROM key for the data to be added.
value
A pointer to a FireWire address.
inDesc
Reserved; set to NULL.
Appends an offset leaf to a unit directory. The address passed in value should be an address in initial unit space of the local config ROM.
AddEntry_Ptr |
Append a data leaf
IOReturn ( *AddEntry_Ptr)( IOFireWireLibLocalUnitDirectoryRef self, int key, void *inBuffer, size_t inLen, CFStringRef inDesc);
self
The local unit directory interface to use.
key
The config ROM key for the data to be added.
inBuffer
A pointer to the data to be placed in the added leaf.
inLen
Length of the data being added.
inDesc
Reserved; set to NULL.
Appends a leaf data node to a unit directory
AddEntry_UInt32 |
Append an immediate leaf
IOReturn ( *AddEntry_UInt32)( IOFireWireLibLocalUnitDirectoryRef self, int key, UInt32 value, CFStringRef inDesc);
self
The local unit directory interface to use.
key
The config ROM key for the data to be added.
value
The value to be added.
inDesc
Reserved; set to NULL.
Appends an immediate leaf to a unit directory. Note that only the lower 3 bytes of the passed in value can appear in the unit directory.
Publish |
Causes a constructed or updated unit directory to appear in the local machine's config ROM. Note that this call will cause a bus reset, after which the unit directory will be visible to devices on the bus.
IOReturn ( *Publish)( IOFireWireLibLocalUnitDirectoryRef self);
self
The local unit directory interface to use.
Unpublish |
Has the opposite effect from Publish(). This call removes a unit directory from the local machine's config ROM. Note that this call will cause a bus reset, after which the unit directory will no longer appear to devices on the bus.
IOReturn ( *Unpublish)( IOFireWireLibLocalUnitDirectoryRef self);
self
The local unit directory interface to use.
revision |
UInt32 revision;
Interface revision
version |
UInt32 version;
Interface version
Last Updated: 2009-10-15