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 moreAuto Trait Implementations§
impl Freeze for HypCam
impl RefUnwindSafe for HypCam
impl Send for HypCam
impl Sync for HypCam
impl Unpin for HypCam
impl UnsafeUnpin for HypCam
impl UnwindSafe for HypCam
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more