class vmar
Defined at line 18 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
A wrapper for handles to VMARs. Note that vmar::~vmar() does not execute vmar::destroy(), it just closes the handle.
Inherits from object<vmar>
Functions
allocate
public zx_status_t allocate(uint32_t options, size_t offset, size_t size, vmar * child, uintptr_t * child_addr)
Defined at line 11 of file ../../zircon/system/ulib/zx/vmar.cc
vmar
public void vmar()
Defined at line 22 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
vmar
public void vmar(zx_handle_t value)
Defined at line 24 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
vmar
public void vmar(handle && h)
Defined at line 26 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
vmar
public void vmar(vmar && other)
Defined at line 28 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
operator=
public vmar & operator=(vmar && other)
Defined at line 30 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
map
public zx_status_t map(zx_vm_option_t options, size_t vmar_offset, const vmo & vmo_handle, uint64_t vmo_offset, size_t len, zx_vaddr_t * ptr)
Defined at line 35 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
map_iob
public zx_status_t map_iob(zx_vm_option_t options, size_t vmar_offset, const iob & iob_handle, uint32_t region_index, uint64_t region_offset, size_t region_len, zx_vaddr_t * ptr)
Defined at line 40 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
unmap
public zx_status_t unmap(uintptr_t address, size_t len)
Defined at line 47 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
protect
public zx_status_t protect(zx_vm_option_t prot, uintptr_t address, size_t len)
Defined at line 51 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
op_range
public zx_status_t op_range(uint32_t op, uint64_t offset, uint64_t size, void * buffer, size_t buffer_size)
Defined at line 56 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
destroy
public zx_status_t destroy()
Defined at line 61 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h
root_self
public
unowned
root_self()
Defined at line 66 of file ../../zircon/system/ulib/zx/include/lib/zx/vmar.h