#[repr(C)]pub struct ExceptionInfo {
pub error_code: u64,
pub rip: u64,
pub cs: u64,
pub rflags: u64,
pub rsp: u64,
pub ss: u64,
}
Expand description
See AMD64 Architecture Programmer’s Manual, Volume 2 §8.9.3 Interrupt Stack Frame, pp. 283–284 Figure 8-14: Long-Mode Stack After Interrupt—Same Privilege, Figure 8-15: Long-Mode Stack After Interrupt—Higher Privilege Subject to the proviso that we push a dummy error code of 0 for exceptions for which the processor does not provide one
Fields§
§error_code: u64
§rip: u64
§cs: u64
§rflags: u64
§rsp: u64
§ss: u64
Auto Trait Implementations§
impl Freeze for ExceptionInfo
impl RefUnwindSafe for ExceptionInfo
impl Send for ExceptionInfo
impl Sync for ExceptionInfo
impl Unpin for ExceptionInfo
impl UnwindSafe for ExceptionInfo
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