simpleReader
A method for processing an address space read request
Declaration
static UInt32 simpleReader(
void *refcon,
UInt16nodeID,
IOFWSpeed & speed,
FWAddressaddr,
UInt32len,
IOMemoryDescriptor **buf,
IOByteCount *offset,
IOFWRequestRefConreqrefcon);Parameters
- refcon:
Client's callback object.
- nodeID:
FireWire Read from nodeID.
- speed:
at this 'speed'.
- addr:
with FireWire address 'addr'.
- len:
read 'len' bytes from nodeID.
- buf:
points to a memory descriptor containing the packet data.
- offset:
start from this 'offset' in 'buf'.
- reqrefcon:
Can be queried for extra info about the request.
Return Value
UIn32 returns kFWResponseComplete on success