Struct simics::api::interface::interfaces::ProcessorEndianInterface
source · pub struct ProcessorEndianInterface {
obj: *mut ConfObject,
interface: *mut processor_endian_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut processor_endian_interface
Implementations§
source§impl ProcessorEndianInterface
impl ProcessorEndianInterface
sourcepub fn get_instruction_endian(&mut self) -> Result<cpu_endian_t>
pub fn get_instruction_endian(&mut self) -> Result<cpu_endian_t>
Automatically generated method for the interface
sourcepub fn get_data_endian(&mut self) -> Result<cpu_endian_t>
pub fn get_data_endian(&mut self) -> Result<cpu_endian_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for ProcessorEndianInterface
impl Interface for ProcessorEndianInterface
source§const NAME: &'static [u8] = crate::api::sys::PROCESSOR_ENDIAN_INTERFACE
const NAME: &'static [u8] = crate::api::sys::PROCESSOR_ENDIAN_INTERFACE
The name of the interface
source§type InternalInterface = processor_endian_interface
type InternalInterface = processor_endian_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 ProcessorEndianInterface
impl RefUnwindSafe for ProcessorEndianInterface
impl !Send for ProcessorEndianInterface
impl !Sync for ProcessorEndianInterface
impl Unpin for ProcessorEndianInterface
impl UnwindSafe for ProcessorEndianInterface
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