class IoHandler
Defined at line 47 of file ../../src/virtualization/bin/vmm/io.h
Callback interface to be implemented by devices.
IoHandlers may be called from multiple VCPU threads concurrently so
implementations must implement proper internal synchronization.
Public Methods
std::string_view Name ()
Get a human-readable name of this device, used for debugging and logging.
zx_status_t Read (zx_gpaddr_t addr, IoValue * value)
Read |value.access_size| bytes from |addr| into |value|.
Not const since there may be side effects.
zx_status_t Write (zx_gpaddr_t addr, const IoValue & value)
Write |value.access_size| bytes to |addr| from |value|.
void ~IoHandler ()
Defined at line 49 of file ../../src/virtualization/bin/vmm/io.h