Structs§
- MapResult
- Result of calling
VmAddressRegion::create_vm_mapping. - VmAddress
Region - A contiguous region of the virtual address space.
Enums§
- Memory
Priority - Memory priorities that can be applied to VMARs and mappings.
- VmAddress
Region OpChildren - Whether to operate on children when unmapping or protecting.
Constants§
- VMAR_
CAN_ RWX_ FLAGS - Mask of read, write, and execute permission flags.
- VMAR_
FLAG_ ALLOW_ FAULTS - Allow VMO backings that could result in faults.
- VMAR_
FLAG_ CAN_ MAP_ EXECUTE - Allow
VmMappingsto be created inside the region with execute permissions. - VMAR_
FLAG_ CAN_ MAP_ READ - Allow
VmMappingsto be created inside the region with read permissions. - VMAR_
FLAG_ CAN_ MAP_ SPECIFIC - Allow
VmMappingsto be created inside the new region with theSPECIFICorOFFSET_IS_UPPER_LIMITflag. - VMAR_
FLAG_ CAN_ MAP_ WRITE - Allow
VmMappingsto be created inside the region with write permissions. - VMAR_
FLAG_ COMPACT - When randomly allocating subregions, reduce sprawl by placing allocations near each other.
- VMAR_
FLAG_ DEBUG_ DYNAMIC_ KERNEL_ MAPPING - Opt this VMAR out of certain debugging checks.
- VMAR_
FLAG_ FAULT_ BEYOND_ STREAM_ SIZE - Memory accesses past the stream size rounded up to the page boundary will fault.
- VMAR_
FLAG_ OFFSET_ IS_ UPPER_ LIMIT - Treat the offset as an upper limit when allocating a VMO or child VMAR.
- VMAR_
FLAG_ REQUIRE_ NON_ RESIZABLE - Require that VMO backing the mapping is non-resizable.
- VMAR_
FLAG_ SPECIFIC - Request that the new region be at the specified offset in its parent region.
- VMAR_
FLAG_ SPECIFIC_ OVERWRITE - Like
VMAR_FLAG_SPECIFIC, but permits overwriting existing mappings.