Mac Dev Center Mac OS X Reference Library Drivers, Kernel, & Hardware: User-Space Device Access 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.
Notify the address space that a packet notification handler has completed.
Get a pointer to the backing store for this address space
Get the size in bytes of this address space.
Get the FireWire address of this address space
Returns the user refCon value for this address space.
Is notification on?
Set the callback that should be called to handle read accesses to the corresponding address space
Set the callback that should be called when incoming packets are dropped by the address space.
Set the callback that should be called to handle write accesses to the corresponding address space
Force packet notification off.
Try to turn on packet notifications for this address space.
ClientCommandIsComplete |
Notify 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
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 |
Get a pointer to the backing store for this address space
void* ( *GetBuffer)( IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
A pointer to the backing store of this pseudo address space. Returns nil if none.
GetBufferSize |
Get the size in bytes of this address space.
const UInt32 (*GetBufferSize)(IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
Size of the pseudo address space in bytes. Returns 0 for none.
GetFWAddress |
Get the FireWire address of this address space
void ( *GetFWAddress)( IOFireWireLibPseudoAddressSpaceRef self, FWAddress *outAddr);
self
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.
Size of the pseudo address space in bytes. Returns 0 for none.
NotificationIsOn |
Is notification on?
Boolean ( *NotificationIsOn)( IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
Returns true if packet notifications for this address space are active
SetReadHandler |
Set 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 |
Set 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 |
Set 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 |
Force packet notification off.
void ( *TurnOffNotification)( IOFireWireLibPseudoAddressSpaceRef self);
self
The pseudo address interface to use.
TurnOnNotification |
Try to turn on packet notifications for this address space.
Boolean ( *TurnOnNotification)( IOFireWireLibPseudoAddressSpaceRef self);
self
The address space interface to use.
Returns true upon success
revision |
UInt32 revision;
Interface revision
version |
UInt32 version;
Interface version
Last Updated: 2009-10-15