#[repr(C)]pub struct UContext {
pub flags: usize,
pub link: usize,
pub stack: UStack,
pub gregs: MContext,
pub sig_mask: SigSetExtended,
pub __fpregs_mem: [u64; 64],
}Expand description
Fields§
§flags: usize标志位,用于表示上下文的状态或其他标记
link: usize链接寄存器,保存返回地址或跳转地址
stack: UStack栈,保存上下文的栈信息
gregs: MContext通用寄存器的上下文信息
sig_mask: SigSetExtended信号掩码,用于记录哪些信号被屏蔽
__fpregs_mem: [u64; 64]浮点寄存器的内存表示
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UContext
impl RefUnwindSafe for UContext
impl Send for UContext
impl Sync for UContext
impl Unpin for UContext
impl UnwindSafe for UContext
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