Struct simics::api::interface::interfaces::X86TlbV3Interface
source · pub struct X86TlbV3Interface {
obj: *mut ConfObject,
interface: *mut x86_tlb_v3_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut x86_tlb_v3_interface
Implementations§
source§impl X86TlbV3Interface
impl X86TlbV3Interface
sourcepub fn add(
&mut self,
hint: uint64,
laddr: linear_address_t,
paddr: physical_address_t,
attrs: x86_tlb_attrs_v3_t,
) -> Result<()>
pub fn add( &mut self, hint: uint64, laddr: linear_address_t, paddr: physical_address_t, attrs: x86_tlb_attrs_v3_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn lookup(
&mut self,
hint: uint64,
mem_tr: *mut x86_memory_transaction_t,
) -> Result<*const x86_tlb_entry_v3_t>
pub fn lookup( &mut self, hint: uint64, mem_tr: *mut x86_memory_transaction_t, ) -> Result<*const x86_tlb_entry_v3_t>
Automatically generated method for the interface
sourcepub fn itlb_lookup(
&mut self,
hint: uint64,
laddr: linear_address_t,
mode: processor_mode_t,
) -> Result<tagged_physical_address_t>
pub fn itlb_lookup( &mut self, hint: uint64, laddr: linear_address_t, mode: processor_mode_t, ) -> Result<tagged_physical_address_t>
Automatically generated method for the interface
sourcepub fn invalidate_page(
&mut self,
hint: uint64,
laddr: linear_address_t,
) -> Result<()>
pub fn invalidate_page( &mut self, hint: uint64, laddr: linear_address_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn invalidate(
&mut self,
type_: uint32,
hint: uint64,
la: linear_address_t,
) -> Result<()>
pub fn invalidate( &mut self, type_: uint32, hint: uint64, la: linear_address_t, ) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for X86TlbV3Interface
impl Interface for X86TlbV3Interface
source§type InternalInterface = x86_tlb_v3_interface
type InternalInterface = x86_tlb_v3_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 X86TlbV3Interface
impl RefUnwindSafe for X86TlbV3Interface
impl !Send for X86TlbV3Interface
impl !Sync for X86TlbV3Interface
impl Unpin for X86TlbV3Interface
impl UnwindSafe for X86TlbV3Interface
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