Struct simics::api::interface::interfaces::RapidioV5Interface
source · pub struct RapidioV5Interface {
obj: *mut ConfObject,
interface: *mut rapidio_v5_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut rapidio_v5_interface
Implementations§
source§impl RapidioV5Interface
impl RapidioV5Interface
sourcepub fn transaction_request(
&mut self,
target_id: uint16,
source_id: uint16,
transport_class: uint32,
addr: uint64,
op: rapidio_operation_t,
msg: bytes_t,
id: uint64,
) -> Result<()>
pub fn transaction_request( &mut self, target_id: uint16, source_id: uint16, transport_class: uint32, addr: uint64, op: rapidio_operation_t, msg: bytes_t, id: uint64, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn transaction_response(&mut self, msg: bytes_t, id: uint64) -> Result<()>
pub fn transaction_response(&mut self, msg: bytes_t, id: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn doorbell(
&mut self,
target_id: uint16,
source_id: uint16,
transport_class: uint32,
val: uint16,
) -> Result<()>
pub fn doorbell( &mut self, target_id: uint16, source_id: uint16, transport_class: uint32, val: uint16, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn deliver_message(
&mut self,
target_id: uint16,
source_id: uint16,
transport_class: uint32,
mbox: uint16,
letter: uint16,
msg: bytes_t,
) -> Result<()>
pub fn deliver_message( &mut self, target_id: uint16, source_id: uint16, transport_class: uint32, mbox: uint16, letter: uint16, msg: bytes_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn read_register_request(
&mut self,
target_id: uint16,
source_id: uint16,
transport_class: uint32,
hopcount: uint8,
reg_no: uint32,
id: uint64,
) -> Result<()>
pub fn read_register_request( &mut self, target_id: uint16, source_id: uint16, transport_class: uint32, hopcount: uint8, reg_no: uint32, id: uint64, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn read_register_response(&mut self, val: uint32, id: uint64) -> Result<()>
pub fn read_register_response(&mut self, val: uint32, id: uint64) -> Result<()>
Automatically generated method for the interface
sourcepub fn write_register(
&mut self,
target_id: uint16,
source_id: uint16,
transport_class: uint32,
hopcount: uint8,
reg_no: uint32,
val: uint32,
) -> Result<()>
pub fn write_register( &mut self, target_id: uint16, source_id: uint16, transport_class: uint32, hopcount: uint8, reg_no: uint32, val: uint32, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn port_write(
&mut self,
target_id: uint16,
source_id: uint16,
transport_class: uint32,
hopcount: uint8,
msg: bytes_t,
) -> Result<()>
pub fn port_write( &mut self, target_id: uint16, source_id: uint16, transport_class: uint32, hopcount: uint8, msg: bytes_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn stream_data(
&mut self,
target_id: uint16,
source_id: uint16,
transport_class: uint32,
cos: uint8,
xh: uint8,
stream_id: uint16,
pdu: bytes_t,
) -> Result<()>
pub fn stream_data( &mut self, target_id: uint16, source_id: uint16, transport_class: uint32, cos: uint8, xh: uint8, stream_id: uint16, pdu: bytes_t, ) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for RapidioV5Interface
impl Interface for RapidioV5Interface
source§type InternalInterface = rapidio_v5_interface
type InternalInterface = rapidio_v5_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 RapidioV5Interface
impl RefUnwindSafe for RapidioV5Interface
impl !Send for RapidioV5Interface
impl !Sync for RapidioV5Interface
impl Unpin for RapidioV5Interface
impl UnwindSafe for RapidioV5Interface
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