---
title: getMemoryDescriptor
framework: kernel
role: pseudoSymbol
path: kernel/iomemorymap/1812429-getmemorydescriptor
---

# getMemoryDescriptor

Accessor to the IOMemoryDescriptor the mapping was created from.

## Declaration

```occ
virtual IOMemoryDescriptor * getMemoryDescriptor(); 
```

## Return Value

Return Value An IOMemoryDescriptor reference, which is valid while the IOMemoryMap object is retained. It should not be released by the caller.

## Overview

Overview This method returns the IOMemoryDescriptor the mapping was created from.

## See Also

### Miscellaneous

- [getAddress()](kernel/iomemorymap/1812407-getaddress.md)
- [getAddressTask](kernel/iomemorymap/1812414-getaddresstask.md)
- [getLength](kernel/iomemorymap/1812419-getlength.md)
- [getMapOptions](kernel/iomemorymap/1812423-getmapoptions.md)
- [getPhysicalAddress](kernel/iomemorymap/1812435-getphysicaladdress.md)
- [getPhysicalSegment](kernel/iomemorymap/1812443-getphysicalsegment.md)
- [getSize()](kernel/iomemorymap/1812448-getsize.md)
- [getVirtualAddress](kernel/iomemorymap/1812459-getvirtualaddress.md)
- [redirect](kernel/iomemorymap/1812465-redirect.md)
- [unmap](kernel/iomemorymap/1812474-unmap.md)
