Struct simics_api_sys::bindings::description_t
source · #[repr(C)]pub struct description_t {Show 13 fields
pub type_: description_type_t,
pub name: *const c_char,
pub description: *const c_char,
pub dwarf_id: int16,
pub bitorder: reg_bitorder_t,
pub role: reg_role_t,
pub memory_mapped: bool,
pub offset: uint64,
pub catchable: bool,
pub msb: c_int,
pub lsb: c_int,
pub regsize: c_int,
pub reg_id: c_int,
}
Expand description
Fields§
§type_: description_type_t
Common fields
name: *const c_char
§description: *const c_char
§dwarf_id: int16
id used by dwarf for this register or -1 if no such id is defined. This is ABI specific, but the CPU will give the ids for the most common ABI for that architecture.
bitorder: reg_bitorder_t
Bitorder convention used in the documentation for this register or field.
role: reg_role_t
Role of this register in the ABI/HW.
memory_mapped: bool
True if the register is memory mapped.
offset: uint64
Offset into the bank for memory mapped registers.
catchable: bool
True if Core_Control_Register_Write and Core_Control_Register_Read are triggered when this register is written or read.
msb: c_int
Most and least significant bit of the register or field. Always given in le bitorder. For groups msb == -1 and lsb == 0.
lsb: c_int
Most and least significant bit of the register or field. Always given in le bitorder. For groups msb == -1 and lsb == 0.
regsize: c_int
Number of bits in the register, or the register this field is a part of.
reg_id: c_int
For registers and fields the id to pass to the get and set methods to access the register’s value. Fields have the same reg_id as the register they are a part of. Not valid for groups.
Trait Implementations§
source§impl Clone for description_t
impl Clone for description_t
source§fn clone(&self) -> description_t
fn clone(&self) -> description_t
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for description_t
impl Debug for description_t
source§impl Default for description_t
impl Default for description_t
source§impl Hash for description_t
impl Hash for description_t
source§impl Ord for description_t
impl Ord for description_t
source§fn cmp(&self, other: &description_t) -> Ordering
fn cmp(&self, other: &description_t) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for description_t
impl PartialEq for description_t
source§impl PartialOrd for description_t
impl PartialOrd for description_t
impl Copy for description_t
impl Eq for description_t
impl StructuralPartialEq for description_t
Auto Trait Implementations§
impl Freeze for description_t
impl RefUnwindSafe for description_t
impl !Send for description_t
impl !Sync for description_t
impl Unpin for description_t
impl UnwindSafe for description_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
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)
clone_to_uninit
)