Struct simics::api::interface::interfaces::SparcV8Interface
source · pub struct SparcV8Interface {
obj: *mut ConfObject,
interface: *mut sparc_v8_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut sparc_v8_interface
Implementations§
source§impl SparcV8Interface
impl SparcV8Interface
sourcepub fn read_window_register(
&mut self,
window: c_int,
reg: c_int,
) -> Result<uint64>
pub fn read_window_register( &mut self, window: c_int, reg: c_int, ) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn write_window_register(
&mut self,
window: c_int,
reg: c_int,
value: uint64,
) -> Result<()>
pub fn write_window_register( &mut self, window: c_int, reg: c_int, value: uint64, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn power_down(&mut self) -> Result<()>
pub fn power_down(&mut self) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for SparcV8Interface
impl Interface for SparcV8Interface
source§type InternalInterface = sparc_v8_interface
type InternalInterface = sparc_v8_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 SparcV8Interface
impl RefUnwindSafe for SparcV8Interface
impl !Send for SparcV8Interface
impl !Sync for SparcV8Interface
impl Unpin for SparcV8Interface
impl UnwindSafe for SparcV8Interface
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