Struct simics_api_sys::bindings::x86_tlb_interface
source · #[repr(C)]pub struct x86_tlb_interface {
pub flush_all: Option<unsafe extern "C" fn(obj: *mut conf_object_t, keep_global_entries: c_int)>,
pub flush_page: Option<unsafe extern "C" fn(obj: *mut conf_object_t, laddr: linear_address_t)>,
pub lookup: Option<unsafe extern "C" fn(obj: *mut conf_object_t, mem_tr: *mut x86_memory_transaction_t) -> c_int>,
pub add: Option<unsafe extern "C" fn(obj: *mut conf_object_t, mode: processor_mode_t, read_or_write: read_or_write_t, data_or_instr: data_or_instr_t, global_page: c_int, pat_type: x86_memory_type_t, mtrr_type: x86_memory_type_t, laddr: linear_address_t, paddr: physical_address_t, page_size: c_int)>,
pub itlb_lookup: Option<unsafe extern "C" fn(obj: *mut conf_object_t, laddr: linear_address_t, mode: processor_mode_t) -> tagged_physical_address_t>,
pub set_pae_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pae_mode: bool)>,
}
Fields§
§flush_all: Option<unsafe extern "C" fn(obj: *mut conf_object_t, keep_global_entries: c_int)>
§flush_page: Option<unsafe extern "C" fn(obj: *mut conf_object_t, laddr: linear_address_t)>
§lookup: Option<unsafe extern "C" fn(obj: *mut conf_object_t, mem_tr: *mut x86_memory_transaction_t) -> c_int>
§add: Option<unsafe extern "C" fn(obj: *mut conf_object_t, mode: processor_mode_t, read_or_write: read_or_write_t, data_or_instr: data_or_instr_t, global_page: c_int, pat_type: x86_memory_type_t, mtrr_type: x86_memory_type_t, laddr: linear_address_t, paddr: physical_address_t, page_size: c_int)>
§itlb_lookup: Option<unsafe extern "C" fn(obj: *mut conf_object_t, laddr: linear_address_t, mode: processor_mode_t) -> tagged_physical_address_t>
§set_pae_mode: Option<unsafe extern "C" fn(obj: *mut conf_object_t, pae_mode: bool)>
Trait Implementations§
source§impl Clone for x86_tlb_interface
impl Clone for x86_tlb_interface
source§fn clone(&self) -> x86_tlb_interface
fn clone(&self) -> x86_tlb_interface
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_tlb_interface
impl Debug for x86_tlb_interface
source§impl Default for x86_tlb_interface
impl Default for x86_tlb_interface
source§fn default() -> x86_tlb_interface
fn default() -> x86_tlb_interface
Returns the “default value” for a type. Read more
source§impl Hash for x86_tlb_interface
impl Hash for x86_tlb_interface
source§impl Ord for x86_tlb_interface
impl Ord for x86_tlb_interface
source§fn cmp(&self, other: &x86_tlb_interface) -> Ordering
fn cmp(&self, other: &x86_tlb_interface) -> 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_tlb_interface
impl PartialEq for x86_tlb_interface
source§impl PartialOrd for x86_tlb_interface
impl PartialOrd for x86_tlb_interface
impl Copy for x86_tlb_interface
impl Eq for x86_tlb_interface
impl StructuralPartialEq for x86_tlb_interface
Auto Trait Implementations§
impl Freeze for x86_tlb_interface
impl RefUnwindSafe for x86_tlb_interface
impl Send for x86_tlb_interface
impl Sync for x86_tlb_interface
impl Unpin for x86_tlb_interface
impl UnwindSafe for x86_tlb_interface
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
)