pub enum ChipsetAction {
MmioRead {
addr: u64,
len: usize,
},
MmioWrite {
addr: u64,
val: Vec<u8>,
},
PortIoRead {
addr: u16,
len: usize,
},
PortIoWrite {
addr: u16,
val: Vec<u8>,
},
PciRead {
bdf: (u8, u8, u8),
offset: u16,
},
PciWrite {
bdf: (u8, u8, u8),
offset: u16,
val: u32,
},
Poll {
index: usize,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChipsetAction
impl RefUnwindSafe for ChipsetAction
impl Send for ChipsetAction
impl Sync for ChipsetAction
impl Unpin for ChipsetAction
impl UnwindSafe for ChipsetAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more