Struct simics::api::interface::interfaces::X86TlbV2Interface
source · pub struct X86TlbV2Interface {
obj: *mut ConfObject,
interface: *mut x86_tlb_v2_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut x86_tlb_v2_interface
Implementations§
source§impl X86TlbV2Interface
impl X86TlbV2Interface
sourcepub fn flush_all(&mut self, keep_global_entries: c_int) -> Result<()>
pub fn flush_all(&mut self, keep_global_entries: c_int) -> Result<()>
Automatically generated method for the interface
sourcepub fn flush_page(&mut self, laddr: linear_address_t) -> Result<()>
pub fn flush_page(&mut self, laddr: linear_address_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn lookup(
&mut self,
mem_tr: *mut x86_memory_transaction_t,
) -> Result<*const x86_tlb_entry_t>
pub fn lookup( &mut self, mem_tr: *mut x86_memory_transaction_t, ) -> Result<*const x86_tlb_entry_t>
Automatically generated method for the interface
sourcepub fn add(
&mut self,
laddr: linear_address_t,
paddr: physical_address_t,
attrs: x86_tlb_attrs_t,
) -> Result<()>
pub fn add( &mut self, laddr: linear_address_t, paddr: physical_address_t, attrs: x86_tlb_attrs_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn itlb_lookup(
&mut self,
laddr: linear_address_t,
mode: processor_mode_t,
) -> Result<tagged_physical_address_t>
pub fn itlb_lookup( &mut self, laddr: linear_address_t, mode: processor_mode_t, ) -> Result<tagged_physical_address_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for X86TlbV2Interface
impl Interface for X86TlbV2Interface
source§type InternalInterface = x86_tlb_v2_interface
type InternalInterface = x86_tlb_v2_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for X86TlbV2Interface
impl RefUnwindSafe for X86TlbV2Interface
impl !Send for X86TlbV2Interface
impl !Sync for X86TlbV2Interface
impl Unpin for X86TlbV2Interface
impl UnwindSafe for X86TlbV2Interface
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