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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-14 UTC."],[],[]]