Struct simics_api_sys::generic_transaction
source · #[repr(C)]pub struct generic_transaction {Show 16 fields
pub logical_address: logical_address_t,
pub physical_address: physical_address_t,
pub size: c_uint,
pub type_: mem_op_type_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub block_flags: c_uint,
pub ini_type: ini_type_t,
pub ini_ptr: *mut conf_object_t,
pub exception: exception_type_t,
pub user_ptr: *mut c_void,
pub real_address: *mut uint8,
pub space_count: c_int,
pub transaction: *mut transaction,
pub reserved: *mut page_t,
pub reserved2: c_uint,
}
Expand description
Fields§
§logical_address: logical_address_t
§physical_address: physical_address_t
§size: c_uint
size in bytes
type_: mem_op_type_t
opaque
_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
§block_flags: c_uint
what we wish to block from caching
ini_type: ini_type_t
cpu, device, or other
ini_ptr: *mut conf_object_t
§exception: exception_type_t
set if memhier throws exception, otherwise Sim_PE_No_Exception
user_ptr: *mut c_void
user pointer that Simics never touches
real_address: *mut uint8
data pointer for the initiator
space_count: c_int
internal, # of memory space transitions
transaction: *mut transaction
§reserved: *mut page_t
no longer used
reserved2: c_uint
no longer used
Implementations§
source§impl generic_transaction
impl generic_transaction
pub fn atomic(&self) -> c_uint
pub fn set_atomic(&mut self, val: c_uint)
pub fn inquiry(&self) -> c_uint
pub fn set_inquiry(&mut self, val: c_uint)
pub fn non_coherent(&self) -> c_uint
pub fn set_non_coherent(&mut self, val: c_uint)
pub fn ignore(&self) -> c_uint
pub fn set_ignore(&mut self, val: c_uint)
pub fn may_stall(&self) -> c_uint
pub fn set_may_stall(&mut self, val: c_uint)
pub fn reissue(&self) -> c_uint
pub fn set_reissue(&mut self, val: c_uint)
pub fn block_STC(&self) -> c_uint
pub fn set_block_STC(&mut self, val: c_uint)
pub fn use_page_cache(&self) -> c_uint
pub fn set_use_page_cache(&mut self, val: c_uint)
pub fn inverse_endian(&self) -> c_uint
pub fn set_inverse_endian(&mut self, val: c_uint)
pub fn page_cross(&self) -> c_uint
pub fn set_page_cross(&mut self, val: c_uint)
pub fn mem_hier_on_fetch(&self) -> c_uint
pub fn set_mem_hier_on_fetch(&mut self, val: c_uint)
pub fn new_bitfield_1( atomic: c_uint, inquiry: c_uint, non_coherent: c_uint, ignore: c_uint, may_stall: c_uint, reissue: c_uint, block_STC: c_uint, use_page_cache: c_uint, inverse_endian: c_uint, page_cross: c_uint, mem_hier_on_fetch: c_uint, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
source§impl Clone for generic_transaction
impl Clone for generic_transaction
source§fn clone(&self) -> generic_transaction
fn clone(&self) -> generic_transaction
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 generic_transaction
impl Debug for generic_transaction
source§impl Default for generic_transaction
impl Default for generic_transaction
source§impl Hash for generic_transaction
impl Hash for generic_transaction
source§impl Ord for generic_transaction
impl Ord for generic_transaction
source§fn cmp(&self, other: &generic_transaction) -> Ordering
fn cmp(&self, other: &generic_transaction) -> 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 generic_transaction
impl PartialEq for generic_transaction
source§impl PartialOrd for generic_transaction
impl PartialOrd for generic_transaction
impl Copy for generic_transaction
impl Eq for generic_transaction
impl StructuralPartialEq for generic_transaction
Auto Trait Implementations§
impl Freeze for generic_transaction
impl RefUnwindSafe for generic_transaction
impl !Send for generic_transaction
impl !Sync for generic_transaction
impl Unpin for generic_transaction
impl UnwindSafe for generic_transaction
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
)