pub struct ThreadRegs {
pub x: [u64; 31],
pub sp: u64,
pub pc: u64,
pub pstate: u64,
}Expand description
General-purpose and control registers for one guest thread.
Layout is filled in when micro-execution lands; fields exist so the CLI and loader can share a stable type early.
Fields§
§x: [u64; 31]x0–x30 (LR in x[30]).
sp: u64Stack pointer.
pc: u64Program counter.
pstate: u64Process state (PSTATE / NZCV subset as needed later).
Implementations§
Source§impl ThreadRegs
impl ThreadRegs
Trait Implementations§
Source§impl Clone for ThreadRegs
impl Clone for ThreadRegs
impl Copy for ThreadRegs
Source§impl Debug for ThreadRegs
impl Debug for ThreadRegs
Source§impl Default for ThreadRegs
impl Default for ThreadRegs
impl Eq for ThreadRegs
Source§impl PartialEq for ThreadRegs
impl PartialEq for ThreadRegs
impl StructuralPartialEq for ThreadRegs
Auto Trait Implementations§
impl Freeze for ThreadRegs
impl RefUnwindSafe for ThreadRegs
impl Send for ThreadRegs
impl Sync for ThreadRegs
impl Unpin for ThreadRegs
impl UnsafeUnpin for ThreadRegs
impl UnwindSafe for ThreadRegs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.