#[repr(C)]pub struct Context {
pub segments: [u64; 3],
pub fxsave: [u8; 512],
pub ds: u64,
pub gprs: [u64; 15],
}
Expand description
Saved context, pushed onto the stack by exception entry code
Fields§
§segments: [u64; 3]
in order: gs, fs, es
fxsave: [u8; 512]
§ds: u64
§gprs: [u64; 15]
no rsp
, since the processor saved it
rax
is at the top, r15
the bottom
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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