class VmoInfoWriter
Defined at line 25 of file ../../zircon/kernel/object/include/object/diagnostics.h
Abstraction around writing zx_info_vmo_t's to user space. As there are multiple versions of the
zx_info_vmo_t struct and we generally just want to produce the most recent one specializations
of this class deal with converting from the most recent representation to the version requested
by the user.
Since conversion may need to occur element by element this provides no multi-element array writes
like the regular user_copy interface.
Public Methods
void VmoInfoWriter ()
Defined at line 27 of file ../../zircon/kernel/object/include/object/diagnostics.h
zx_status_t Write (const zx_info_vmo_t & vmo, size_t offset)
Writes a single zx_info_vmo_t at the given element offset. Return values are same as
user_ptr::copy_to_user
UserCopyCaptureFaultsResult WriteCaptureFaults (const zx_info_vmo_t & vmo, size_t offset)
Same as Write, except is the no faulting variant and returns the complete capture result type.
void AddOffset (size_t offset)
Increases the base offset such that Writes to offset 0 write to this offset.
void ~VmoInfoWriter ()
Defined at line 28 of file ../../zircon/kernel/object/include/object/diagnostics.h