---
title: doRead
framework: kernel
role: pseudoSymbol
path: kernel/iofwaddressspace/1813035-doread
---

# doRead

An abstract method for processing an address space read request

## Declaration

```occ
virtual UInt32 doRead(
 UInt16nodeID,
 IOFWSpeed &speed,
 FWAddressaddr,
 UInt32len, 
 IOMemoryDescriptor **buf,
 IOByteCount *offset, 
 IOFWRequestRefConrefcon) = 0; 
```

## Parameters

- `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'.
- `refcon`: Can be queried for extra info about the request.

## Return Value

Return Value UIn32 returns kFWResponseComplete on success

## See Also

### Miscellaneous

- [activate](kernel/iofwaddressspace/1812970-activate.md)
- [addTrustedNode](kernel/iofwaddressspace/1812980-addtrustednode.md)
- [contains](kernel/iofwaddressspace/1812994-contains.md)
- [deactivate](kernel/iofwaddressspace/1813008-deactivate.md)
- [doLock](kernel/iofwaddressspace/1813019-dolock.md)
- [doWrite](kernel/iofwaddressspace/1813050-dowrite.md)
- [intersects](kernel/iofwaddressspace/1813068-intersects.md)
- [isExclusive](kernel/iofwaddressspace/1813086-isexclusive.md)
- [isTrustedNode](kernel/iofwaddressspace/1813105-istrustednode.md)
- [removeAllTrustedNodes](kernel/iofwaddressspace/1813134-removealltrustednodes.md)
- [removeTrustedNode](kernel/iofwaddressspace/1813152-removetrustednode.md)
- [setExclusive](kernel/iofwaddressspace/1813180-setexclusive.md)
