zx::vmar
Summary
Inheritance
Inherits from:
zx::object< vmar >
Public static attributes
|
TYPE = ZX_OBJ_TYPE_VMAR
|
constexpr zx_obj_type_t
|
Public functions
|
allocate(uint32_t options, size_t offset, size_t size, vmar *child, uintptr_t *child_addr)
|
zx_status_t
|
destroy()
|
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)
|
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)
|
zx_status_t
|
op_range(uint32_t op, uint64_t offset, uint64_t size, void *buffer, size_t buffer_size)
|
zx_status_t
|
operator=(vmar && other)
|
|
protect(zx_vm_option_t prot, uintptr_t address, size_t len)
|
zx_status_t
|
unmap(uintptr_t address, size_t len)
|
zx_status_t
|
Public static attributes
TYPE
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_VMAR
Public functions
allocate
zx_status_t allocate(
uint32_t options,
size_t offset,
size_t size,
vmar *child,
uintptr_t *child_addr
)
destroy
zx_status_t destroy()
map
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
)
map_iob
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
)
op_range
zx_status_t op_range(
uint32_t op,
uint64_t offset,
uint64_t size,
void *buffer,
size_t buffer_size
)
operator=
vmar & operator=(
vmar && other
)
protect
zx_status_t protect(
zx_vm_option_t prot,
uintptr_t address,
size_t len
)
unmap
zx_status_t unmap(
uintptr_t address,
size_t len
)
vmar
constexpr vmar()=default
vmar
vmar(
zx_handle_t value
)
vmar
vmar(
vmar && other
)
Public static functions