---
title: initWithDesc
framework: kernel
role: pseudoSymbol
path: kernel/iofwphysicaladdressspace/1812962-initwithdesc
---

# initWithDesc

Initialize physical address space with IOMemoryDescriptor.

## Declaration

```occ
virtual bool initWithDesc(
 IOFireWireBus *bus, 
 IOMemoryDescriptor *mem); 
```

## Parameters

- `bus`: Points to IOFireWireBus object.
- `mem`: Points to IOMemoryDescriptor.

## Return Value

Return Value returns true if success, else false

## See Also

### Miscellaneous

- [checkMemoryInRange](kernel/iofwphysicaladdressspace/1812923-checkmemoryinrange.md)
- [complete](kernel/iofwphysicaladdressspace/1812928-complete.md)
- [doRead](kernel/iofwphysicaladdressspace/1812935-doread.md)
- [doWrite](kernel/iofwphysicaladdressspace/1812940-dowrite.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)
- [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)
