Struct simics::api::interface::interfaces::ProcessorCliInterface
source · pub struct ProcessorCliInterface {
obj: *mut ConfObject,
interface: *mut processor_cli_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut processor_cli_interface
Implementations§
source§impl ProcessorCliInterface
impl ProcessorCliInterface
sourcepub fn get_disassembly(
&mut self,
addr_prefix: *const c_char,
address: generic_address_t,
print_cpu: bool,
mnemonic: *const c_char,
) -> Result<tuple_int_string_t>
pub fn get_disassembly( &mut self, addr_prefix: *const c_char, address: generic_address_t, print_cpu: bool, mnemonic: *const c_char, ) -> Result<tuple_int_string_t>
Automatically generated method for the interface
sourcepub fn get_pregs(&mut self, all: bool) -> Result<*mut c_char>
pub fn get_pregs(&mut self, all: bool) -> Result<*mut c_char>
Automatically generated method for the interface
sourcepub fn get_diff_regs(&mut self) -> Result<AttrValue>
pub fn get_diff_regs(&mut self) -> Result<AttrValue>
Automatically generated method for the interface
sourcepub fn get_pending_exception_string(&mut self) -> Result<*mut c_char>
pub fn get_pending_exception_string(&mut self) -> Result<*mut c_char>
Automatically generated method for the interface
sourcepub fn get_address_prefix(&mut self) -> Result<*mut c_char>
pub fn get_address_prefix(&mut self) -> Result<*mut c_char>
Automatically generated method for the interface
sourcepub fn translate_to_physical(
&mut self,
prefix: *const c_char,
address: generic_address_t,
) -> Result<physical_block_t>
pub fn translate_to_physical( &mut self, prefix: *const c_char, address: generic_address_t, ) -> Result<physical_block_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for ProcessorCliInterface
impl Interface for ProcessorCliInterface
source§const NAME: &'static [u8] = crate::api::sys::PROCESSOR_CLI_INTERFACE
const NAME: &'static [u8] = crate::api::sys::PROCESSOR_CLI_INTERFACE
The name of the interface
source§type InternalInterface = processor_cli_interface
type InternalInterface = processor_cli_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 ProcessorCliInterface
impl RefUnwindSafe for ProcessorCliInterface
impl !Send for ProcessorCliInterface
impl !Sync for ProcessorCliInterface
impl Unpin for ProcessorCliInterface
impl UnwindSafe for ProcessorCliInterface
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