---
title: Memory Management
framework: Hypervisor
role: collectionGroup
role_heading: API Collection
path: hypervisor/intel-based_mac-memory-management
---

# Memory Management

Map memory into the physical address space of the virtual machine, and allocate additional memory for the current task.

## Topics

### Shared memory

- [hv_vm_map(_:_:_:_:)](hypervisor/hv_vm_map(_:_:_:_:).md)
- [hv_vm_unmap(_:_:)](hypervisor/hv_vm_unmap(_:_:).md)
- [hv_vm_protect(_:_:_:)](hypervisor/hv_vm_protect(_:_:_:).md)

### Process-specific memory

- [hv_vm_space_create(_:)](hypervisor/hv_vm_space_create(_:).md)
- [hv_vm_space_destroy(_:)](hypervisor/hv_vm_space_destroy(_:).md)
- [hv_vm_map_space(_:_:_:_:_:)](hypervisor/hv_vm_map_space(_:_:_:_:_:).md)
- [hv_vm_unmap_space(_:_:_:)](hypervisor/hv_vm_unmap_space(_:_:_:).md)
- [hv_vm_protect_space(_:_:_:_:)](hypervisor/hv_vm_protect_space(_:_:_:_:).md)

### Common types

- [hv_uvaddr_t](hypervisor/hv_uvaddr_t.md)
- [hv_gpaddr_t](hypervisor/hv_gpaddr_t.md)
- [hv_memory_flags_t](hypervisor/hv_memory_flags_t.md)
- [Memory Permissions](hypervisor/1447309-memory_permissions-enum.md)
- [hv_vm_space_t](hypervisor/hv_vm_space_t.md)
- [Address Space Types](hypervisor/3181561-address_space_type-enum.md)

## See Also

### Resource management

- [vCPU Management](hypervisor/intel-based_mac-vcpu-management.md)
- [Virtual Machine Control Structure (VMCS)](hypervisor/virtual-machine-control-structure-vmcs.md)
