Struct simics::api::interface::interfaces::MemorySpaceInterface
source · pub struct MemorySpaceInterface {
obj: *mut ConfObject,
interface: *mut memory_space_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut memory_space_interface
Implementations§
source§impl MemorySpaceInterface
impl MemorySpaceInterface
sourcepub fn space_lookup(
&mut self,
mop: *mut generic_transaction_t,
mapinfo: map_info_t,
) -> Result<*mut map_list_t>
pub fn space_lookup( &mut self, mop: *mut generic_transaction_t, mapinfo: map_info_t, ) -> Result<*mut map_list_t>
Automatically generated method for the interface
sourcepub fn access(
&mut self,
mop: *mut generic_transaction_t,
) -> Result<exception_type_t>
pub fn access( &mut self, mop: *mut generic_transaction_t, ) -> Result<exception_type_t>
Automatically generated method for the interface
sourcepub fn access_simple(
&mut self,
initiator: *mut conf_object_t,
addr: physical_address_t,
buf: *mut uint8,
len: physical_address_t,
type_: read_or_write_t,
endian: endianness_t,
) -> Result<exception_type_t>
pub fn access_simple( &mut self, initiator: *mut conf_object_t, addr: physical_address_t, buf: *mut uint8, len: physical_address_t, type_: read_or_write_t, endian: endianness_t, ) -> Result<exception_type_t>
Automatically generated method for the interface
sourcepub fn access_simple_inq(
&mut self,
initiator: *mut conf_object_t,
addr: physical_address_t,
buf: *mut uint8,
len: physical_address_t,
type_: read_or_write_t,
endian: endianness_t,
) -> Result<exception_type_t>
pub fn access_simple_inq( &mut self, initiator: *mut conf_object_t, addr: physical_address_t, buf: *mut uint8, len: physical_address_t, type_: read_or_write_t, endian: endianness_t, ) -> Result<exception_type_t>
Automatically generated method for the interface
sourcepub fn read(
&mut self,
initiator: *mut conf_object_t,
addr: physical_address_t,
length: c_int,
inquiry: c_int,
) -> Result<AttrValue>
pub fn read( &mut self, initiator: *mut conf_object_t, addr: physical_address_t, length: c_int, inquiry: c_int, ) -> Result<AttrValue>
Automatically generated method for the interface
sourcepub fn write(
&mut self,
initiator: *mut conf_object_t,
addr: physical_address_t,
data: attr_value_t,
inquiry: c_int,
) -> Result<exception_type_t>
pub fn write( &mut self, initiator: *mut conf_object_t, addr: physical_address_t, data: attr_value_t, inquiry: c_int, ) -> Result<exception_type_t>
Automatically generated method for the interface
sourcepub fn timing_model_operate(
&mut self,
mop: *mut generic_transaction_t,
) -> Result<cycles_t>
pub fn timing_model_operate( &mut self, mop: *mut generic_transaction_t, ) -> Result<cycles_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for MemorySpaceInterface
impl Interface for MemorySpaceInterface
source§type InternalInterface = memory_space_interface
type InternalInterface = memory_space_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 MemorySpaceInterface
impl RefUnwindSafe for MemorySpaceInterface
impl !Send for MemorySpaceInterface
impl !Sync for MemorySpaceInterface
impl Unpin for MemorySpaceInterface
impl UnwindSafe for MemorySpaceInterface
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