class VDso

Defined at line 20 of file ../../zircon/kernel/lib/userabi/include/lib/userabi/vdso.h

Public Methods

bool vmo_is_vdso (const fbl::RefPtr<VmObject> & vmo)

Defined at line 34 of file ../../zircon/kernel/lib/userabi/include/lib/userabi/vdso.h

fbl::RefPtr<VmObjectDispatcher> dispatcher ()

Defined at line 62 of file ../../zircon/kernel/lib/userabi/include/lib/userabi/vdso.h

zx_rights_t vmo_rights ()

Defined at line 66 of file ../../zircon/kernel/lib/userabi/include/lib/userabi/vdso.h

const fbl::RefPtr<VmObject> & vmo ()

Defined at line 68 of file ../../zircon/kernel/lib/userabi/include/lib/userabi/vdso.h

const VDso * Create (const HandoffEnd::Elf & elf_image, ktl::span<KernelHandle<VmObjectDispatcher>, userboot::kNumVdsoVariants> vmo_kernel_handles, KernelHandle<VmObjectDispatcher> * time_values_handle)

This is called only once, at boot time.

The created VDso will retain RefPtrs to the created VmObjectDispatchers,

but ownership of the wrapping handles are given to the caller.

The RoDso VMO is created in vmo_kernel_handles[Variant::NEXT]

with the VDso variants in the other slots.

Defined at line 370 of file ../../zircon/kernel/lib/userabi/vdso.cc

bool valid_code_mapping (uint64_t vmo_offset, size_t size)

Defined at line 558 of file ../../zircon/kernel/lib/userabi/vdso.cc

uintptr_t base_address (const fbl::RefPtr<VmMapping> & code_mapping)

Given VmAspace::vdso_code_mapping_, return the vDSO base address.

Defined at line 438 of file ../../zircon/kernel/lib/userabi/vdso.cc

void SetMonotonicTicksOffset (zx_ticks_t new_offset)

Sets the monotonic ticks offset in all of the vDSO variants' TimeValues structure. This will

be called on system resume to update the amount of time the system spent in a suspended state.

Defined at line 461 of file ../../zircon/kernel/lib/userabi/vdso.cc

Records