---
title: hv_memory_flags_t
framework: hypervisor
role: symbol
role_heading: Type Alias
path: hypervisor/hv_memory_flags_t
---

# hv_memory_flags_t

The permissions for guest physical memory regions.

## Declaration

```swift
typealias hv_memory_flags_t = UInt64
```

## Discussion

Discussion Set with the hv_vm_map(_:_:_:_:) and hv_vm_protect(_:_:_:) functions.

## Topics

### Permissions

- [HV_MEMORY_READ](hypervisor/hv_memory_read.md)
- [HV_MEMORY_WRITE](hypervisor/hv_memory_write.md)
- [HV_MEMORY_EXEC](hypervisor/hv_memory_exec.md)

## See Also

### Data Types

- [hv_allocate_flags_t](hypervisor/hv_allocate_flags_t.md)
- [hv_gpaddr_t](hypervisor/hv_gpaddr_t.md)
- [hv_sme_zt0_uchar64_t](hypervisor/hv_sme_zt0_uchar64_t.md)
- [hv_uvaddr_t](hypervisor/hv_uvaddr_t.md)
- [hv_vm_space_t](hypervisor/hv_vm_space_t.md)
