pub struct HypCam { /* private fields */ }Expand description
A PCI configuration access mechanism using hypercalls implemented by the x86-64 pKVM hypervisor.
Implementations§
Trait Implementations§
Source§impl ConfigurationAccess for HypCam
impl ConfigurationAccess for HypCam
Source§fn read_word(&self, device_function: DeviceFunction, register_offset: u8) -> u32
fn read_word(&self, device_function: DeviceFunction, register_offset: u8) -> u32
Reads 4 bytes from the configuration space.
Source§fn write_word(
&mut self,
device_function: DeviceFunction,
register_offset: u8,
data: u32,
)
fn write_word( &mut self, device_function: DeviceFunction, register_offset: u8, data: u32, )
Writes 4 bytes to the configuration space.
Source§unsafe fn unsafe_clone(&self) -> Self
unsafe fn unsafe_clone(&self) -> Self
Makes a clone of the
ConfigurationAccess, accessing the same PCI bus. Read more