class VmAddressRegionDispatcher

Defined at line 22 of file ../../zircon/kernel/object/include/object/vm_address_region_dispatcher.h

Public Methods

zx_obj_type_t get_type ()

Defined at line 29 of file ../../zircon/kernel/object/include/object/vm_address_region_dispatcher.h

const fbl::RefPtr<VmAddressRegion> & vmar ()

Defined at line 53 of file ../../zircon/kernel/object/include/object/vm_address_region_dispatcher.h

VmAddressRegionOpChildren op_children_from_rights (zx_rights_t rights)

Defined at line 59 of file ../../zircon/kernel/object/include/object/vm_address_region_dispatcher.h

zx_status_t Create (fbl::RefPtr<VmAddressRegion> vmar, uint base_arch_mmu_flags, KernelHandle<VmAddressRegionDispatcher> * handle, zx_rights_t * rights)

Defined at line 90 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

void ~VmAddressRegionDispatcher ()

Defined at line 124 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

zx_status_t Allocate (size_t offset, size_t size, uint32_t flags, KernelHandle<VmAddressRegionDispatcher> * handle, zx_rights_t * rights)

TODO(teisenbe): Make this the planned batch interface

Defined at line 128 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

zx_status_t Destroy ()

Defined at line 154 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

zx::result<MapResult> Map (size_t vmar_offset, fbl::RefPtr<VmObject> vmo, uint64_t vmo_offset, size_t len, uint32_t flags)

Defined at line 165 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

zx_status_t Protect (vaddr_t base, size_t len, uint32_t flags, VmAddressRegionOpChildren op_children)

Defined at line 204 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

zx_status_t RangeOp (uint32_t op, uint64_t offset, uint64_t size, zx_rights_t rights, user_inout_ptr<void> buffer, size_t buffer_size)

Defined at line 229 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

zx_status_t Unmap (vaddr_t base, size_t len, VmAddressRegionOpChildren op_children)

Defined at line 262 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

zx_status_t SetMemoryPriority (VmAddressRegion::MemoryPriority priority)

Defined at line 273 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

zx_info_vmar_t GetVmarInfo ()

Defined at line 280 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc

bool is_valid_mapping_protection (uint32_t flags)

Check if the given flags define an allowed combination of RWX

protections.

Defined at line 288 of file ../../zircon/kernel/object/vm_address_region_dispatcher.cc