ADC Home > Reference Library > Reference > Hardware & Drivers > I/O Kit Framework Reference
|
IOFireWirePseudoAddressSpaceInterface |
Declared In: |
Represents and provides management functions for a pseudo address space (software-backed) in the local machine.
Pseudo address space objects can be created using IOFireWireDeviceInterface.
Notifies the address space that a packet notification handler has completed.
Gets a pointer to the backing store for this address space.
Gets the size in bytes of this address space.
Gets the FireWire address of this address space.
Returns the user refCon value for this address space.
Determines if notification is on.
Sets the callback that should be called to handle read accesses to the corresponding address space.
Sets the callback that should be called when incoming packets are dropped by the address space.
Sets the callback that should be called to handle write accesses to the corresponding address space.
Forces packet notification off.
Tries to turn on packet notifications for this address space.
ClientCommandIsComplete |
Notifies the address space that a packet notification handler has completed.
void ( *ClientCommandIsComplete)( IOFireWireLibPseudoAddressSpaceRef self, FWClientCommandID commandID, IOReturn status);
self
The address space interface to use.
commandID
The ID of the packet notification being completed. This is the same ID that was passed when a packet notification handler is called.
status
Returns the completion status of the packet handler.
Packet notifications are received one at a time, in order. This function must be called after a packet handler has completed its work.
GetBuffer |
Gets a pointer to the backing store for this address space.
void* ( *GetBuffer)( IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
Returns a pointer to the backing store of this pseudo address space. Returns nil if none.
GetBufferSize |
Gets the size in bytes of this address space.
const UInt32 (*GetBufferSize)(IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
Returns the size of the pseudo address space in bytes. Returns 0 for none.
GetFWAddress |
Gets the FireWire address of this address space.
void ( *GetFWAddress)( IOFireWireLibPseudoAddressSpaceRef self, FWAddress *outAddr);
self
Returns the pseudo address interface to use.
GetRefCon |
Returns the user refCon value for this address space.
void* ( *GetRefCon)( IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
Returns the size of the pseudo address space in bytes. Returns 0 for none.
NotificationIsOn |
Determines if notification is on.
Boolean ( *NotificationIsOn)( IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
Returns true if packet notifications for this address space are active.
SetReadHandler |
Sets the callback that should be called to handle read accesses to the corresponding address space.
const IOFireWirePseudoAddressSpaceReadHandler (*SetReadHandler)( IOFireWireLibPseudoAddressSpaceRef self, IOFireWirePseudoAddressSpaceReadHandler inReader);
self
The address space interface to use.
inReader
The callback to set.
Returns the callback that was previously set or nil for none.
SetSkippedPacketHandler |
Sets the callback that should be called when incoming packets are dropped by the address space.
const IOFireWirePseudoAddressSpaceSkippedPacketHandler (*SetSkippedPacketHandler)( IOFireWireLibPseudoAddressSpaceRef self, IOFireWirePseudoAddressSpaceSkippedPacketHandler inHandler);
self
The address space interface to use.
inHandler
The callback to set.
Returns the callback that was previously set or nil for none.
SetWriteHandler |
Sets the callback that should be called to handle write accesses to the corresponding address space.
const IOFireWirePseudoAddressSpaceWriteHandler (*SetWriteHandler)( IOFireWireLibPseudoAddressSpaceRef self, IOFireWirePseudoAddressSpaceWriteHandler inWriter);
self
The address space interface to use.
inWriter
The callback to set.
Returns the callback that was previously set or nil for none.
TurnOffNotification |
Forces packet notification off.
void ( *TurnOffNotification)( IOFireWireLibPseudoAddressSpaceRef self);
self
The pseudo address interface to use.
TurnOnNotification |
Tries to turn on packet notifications for this address space.
Boolean ( *TurnOnNotification)( IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
Returns true upon success.
|
Last Updated: 2009-02-23