Struct simics_api_sys::x86_memory_transaction
source · #[repr(C)]pub struct x86_memory_transaction {
pub s: generic_transaction_t,
pub linear_address: linear_address_t,
pub guest_physical_address: physical_address_t,
pub segnum: uint16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub mode: processor_mode_t,
pub access_type: x86_access_type_t,
pub pat_type: x86_memory_type_t,
pub mtrr_type: x86_memory_type_t,
pub effective_type: x86_memory_type_t,
pub sequence_number: c_int,
}
Expand description
Fields§
§s: generic_transaction_t
Superclass
linear_address: linear_address_t
§guest_physical_address: physical_address_t
§segnum: uint16
segment number
_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§mode: processor_mode_t
§access_type: x86_access_type_t
§pat_type: x86_memory_type_t
§mtrr_type: x86_memory_type_t
§effective_type: x86_memory_type_t
§sequence_number: c_int
used for -stall
Implementations§
source§impl x86_memory_transaction
impl x86_memory_transaction
pub fn access_linear(&self) -> uint16
pub fn set_access_linear(&mut self, val: uint16)
pub fn io(&self) -> uint16
pub fn set_io(&mut self, val: uint16)
pub fn fault_as_if_write(&self) -> uint16
pub fn set_fault_as_if_write(&mut self, val: uint16)
pub fn guest_phys_valid(&self) -> uint16
pub fn set_guest_phys_valid(&mut self, val: uint16)
pub fn new_bitfield_1( access_linear: uint16, io: uint16, fault_as_if_write: uint16, guest_phys_valid: uint16, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for x86_memory_transaction
impl Clone for x86_memory_transaction
source§fn clone(&self) -> x86_memory_transaction
fn clone(&self) -> x86_memory_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 x86_memory_transaction
impl Debug for x86_memory_transaction
source§impl Default for x86_memory_transaction
impl Default for x86_memory_transaction
source§impl Hash for x86_memory_transaction
impl Hash for x86_memory_transaction
source§impl Ord for x86_memory_transaction
impl Ord for x86_memory_transaction
source§fn cmp(&self, other: &x86_memory_transaction) -> Ordering
fn cmp(&self, other: &x86_memory_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 x86_memory_transaction
impl PartialEq for x86_memory_transaction
source§impl PartialOrd for x86_memory_transaction
impl PartialOrd for x86_memory_transaction
impl Copy for x86_memory_transaction
impl Eq for x86_memory_transaction
impl StructuralPartialEq for x86_memory_transaction
Auto Trait Implementations§
impl Freeze for x86_memory_transaction
impl RefUnwindSafe for x86_memory_transaction
impl !Send for x86_memory_transaction
impl !Sync for x86_memory_transaction
impl Unpin for x86_memory_transaction
impl UnwindSafe for x86_memory_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
)