---
title: doWrite
framework: kernel
role: pseudoSymbol
path: kernel/iofwphysicaladdressspace/1812940-dowrite
---

# doWrite

A method for processing an address space write request

## Declaration

```occ
virtual UInt32 doWrite(
 UInt16nodeID,
 IOFWSpeed &speed,
 FWAddressaddr,
 UInt32len, 
 const void *buf,
 IOFWRequestRefConreqrefcon); 
```

## Parameters

- `nodeID`: FireWire Write to nodeID.
- `speed`: at this 'speed'.
- `addr`: with FireWire address 'addr'.
- `len`: write 'len' bytes to nodeID.
- `buf`: obtain bytes from location given by 'buf'.
- `reqrefcon`: Can be queried for extra info about the request.

## Return Value

Return Value UIn32 returns kFWResponseComplete on success

## See Also

### Miscellaneous

- [checkMemoryInRange](kernel/iofwphysicaladdressspace/1812923-checkmemoryinrange.md)
- [complete](kernel/iofwphysicaladdressspace/1812928-complete.md)
- [doRead](kernel/iofwphysicaladdressspace/1812935-doread.md)
- [getDMACommand](kernel/iofwphysicaladdressspace/1812943-getdmacommand.md)
- [getLength](kernel/iofwphysicaladdressspace/1812947-getlength.md)
- [getMemoryDescriptor](kernel/iofwphysicaladdressspace/1812953-getmemorydescriptor.md)
- [getSegments](kernel/iofwphysicaladdressspace/1812956-getsegments.md)
- [init](kernel/iofwphysicaladdressspace/1812960-init.md)
- [initWithDesc](kernel/iofwphysicaladdressspace/1812962-initwithdesc.md)
- [initWithDMACommand](kernel/iofwphysicaladdressspace/1812968-initwithdmacommand.md)
- [isPrepared](kernel/iofwphysicaladdressspace/1812974-isprepared.md)
- [prepare](kernel/iofwphysicaladdressspace/1812981-prepare.md)
- [setDMACommand](kernel/iofwphysicaladdressspace/1812990-setdmacommand.md)
- [setMemoryDescriptor](kernel/iofwphysicaladdressspace/1813001-setmemorydescriptor.md)
- [synchronize](kernel/iofwphysicaladdressspace/1813014-synchronize.md)
