pub struct EventRecord {
pub seq: Sequence,
pub vcpu: u32,
pub vector: u8,
pub kind: EventKind,
pub return_rip: u64,
pub handler_rip: u64,
pub cr3: u64,
pub accesses: Vec<MemoryAccess>,
}Expand description
A hardware event: the CPU stopped the normal instruction flow and entered a handler through the IDT.
Fields§
§seq: SequenceOrdering information.
vcpu: u32The vCPU.
vector: u8IDT vector.
kind: EventKindHow it was delivered.
return_rip: u64The instruction pointer saved in the interrupt frame (where iret
will return to).
handler_rip: u64The handler’s first instruction.
cr3: u64CR3 at delivery.
accesses: Vec<MemoryAccess>The CPU’s own accesses: the IDT gate read and the frame push.
Trait Implementations§
Source§impl Clone for EventRecord
impl Clone for EventRecord
Source§impl Debug for EventRecord
impl Debug for EventRecord
impl Eq for EventRecord
Source§impl PartialEq for EventRecord
impl PartialEq for EventRecord
impl StructuralPartialEq for EventRecord
Auto Trait Implementations§
impl Freeze for EventRecord
impl RefUnwindSafe for EventRecord
impl Send for EventRecord
impl Sync for EventRecord
impl Unpin for EventRecord
impl UnsafeUnpin for EventRecord
impl UnwindSafe for EventRecord
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