Enum simics_api_sys::gen_spr_ret_t
source · #[repr(u32)]pub enum gen_spr_ret_t {
Sim_Gen_Spr_Ok = 0,
Sim_Gen_Spr_Illegal = 1,
Sim_Gen_Spr_Privilege = 2,
Sim_Gen_Spr_Processor_Sleeps = 3,
}
Expand description
Variants§
Sim_Gen_Spr_Ok = 0
SPR access was OK
Sim_Gen_Spr_Illegal = 1
SPR access should trigger illegal insn exc
Sim_Gen_Spr_Privilege = 2
SPR access should trigger privilege exc
Sim_Gen_Spr_Processor_Sleeps = 3
SPR access suspends the processor
Implementations§
source§impl gen_spr_ret_t
impl gen_spr_ret_t
pub const Sim_PPC_Spr_Ok: gen_spr_ret_t = gen_spr_ret_t::Sim_Gen_Spr_Ok
source§impl gen_spr_ret_t
impl gen_spr_ret_t
pub const Sim_PPC_Spr_Illegal: gen_spr_ret_t = gen_spr_ret_t::Sim_Gen_Spr_Illegal
source§impl gen_spr_ret_t
impl gen_spr_ret_t
pub const Sim_PPC_Spr_Privilege: gen_spr_ret_t = gen_spr_ret_t::Sim_Gen_Spr_Privilege
Trait Implementations§
source§impl Clone for gen_spr_ret_t
impl Clone for gen_spr_ret_t
source§fn clone(&self) -> gen_spr_ret_t
fn clone(&self) -> gen_spr_ret_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for gen_spr_ret_t
impl Debug for gen_spr_ret_t
source§impl Hash for gen_spr_ret_t
impl Hash for gen_spr_ret_t
source§impl Ord for gen_spr_ret_t
impl Ord for gen_spr_ret_t
source§fn cmp(&self, other: &gen_spr_ret_t) -> Ordering
fn cmp(&self, other: &gen_spr_ret_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for gen_spr_ret_t
impl PartialEq for gen_spr_ret_t
source§impl PartialOrd for gen_spr_ret_t
impl PartialOrd for gen_spr_ret_t
impl Copy for gen_spr_ret_t
impl Eq for gen_spr_ret_t
impl StructuralPartialEq for gen_spr_ret_t
Auto Trait Implementations§
impl Freeze for gen_spr_ret_t
impl RefUnwindSafe for gen_spr_ret_t
impl Send for gen_spr_ret_t
impl Sync for gen_spr_ret_t
impl Unpin for gen_spr_ret_t
impl UnwindSafe for gen_spr_ret_t
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)