ADC Home > Reference Library > Reference > Hardware & Drivers > 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.
Appends an offset leaf
Appends a data leaf.
Appends an immediate leaf.
Causes a constructed or updated unit directory to appear in the local machine's config ROM.
Removes a unit directory from the local machine's config ROM.
AddEntry_FWAddress |
Appends 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.
inBuffer
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 |
Appends 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 |
Appends 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.
IOReturn ( *Publish)( IOFireWireLibLocalUnitDirectoryRef self);
self
The local unit directory interface to use.
Note that this call will cause a bus reset, after which the unit directory will be visible to devices on the bus.
Unpublish |
Removes a unit directory from the local machine's config ROM.
IOReturn ( *Unpublish)( IOFireWireLibLocalUnitDirectoryRef self);
self
The local unit directory interface to use.
This call has the opposite effect from Publish(). It 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.
|
Last Updated: 2009-02-23