Struct simics::api::interface::interfaces::ArmCoprocessorInterface
source · pub struct ArmCoprocessorInterface {
obj: *mut ConfObject,
interface: *mut arm_coprocessor_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut arm_coprocessor_interface
Implementations§
source§impl ArmCoprocessorInterface
impl ArmCoprocessorInterface
sourcepub fn process_data(
&mut self,
CRd: uint32,
opcode_1: uint32,
CRn: uint32,
CRm: uint32,
opcode_2: uint32,
type_: c_int,
) -> Result<()>
pub fn process_data( &mut self, CRd: uint32, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn load_coprocessor(
&mut self,
CRd: uint32,
N: uint32,
Options: uint32,
value: uint32,
type_: c_int,
) -> Result<()>
pub fn load_coprocessor( &mut self, CRd: uint32, N: uint32, Options: uint32, value: uint32, type_: c_int, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn read_register(
&mut self,
opcode_1: uint32,
CRn: uint32,
CRm: uint32,
opcode_2: uint32,
type_: c_int,
) -> Result<uint32>
pub fn read_register( &mut self, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int, ) -> Result<uint32>
Automatically generated method for the interface
sourcepub fn write_register(
&mut self,
value: uint32,
opcode_1: uint32,
CRn: uint32,
CRm: uint32,
opcode_2: uint32,
type_: c_int,
) -> Result<()>
pub fn write_register( &mut self, value: uint32, opcode_1: uint32, CRn: uint32, CRm: uint32, opcode_2: uint32, type_: c_int, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn read_register_64_bit(
&mut self,
opcode_1: uint32,
CRm: uint32,
type_: c_int,
) -> Result<uint64>
pub fn read_register_64_bit( &mut self, opcode_1: uint32, CRm: uint32, type_: c_int, ) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn write_register_64_bit(
&mut self,
value: uint64,
opcode_1: uint32,
CRm: uint32,
type_: c_int,
) -> Result<()>
pub fn write_register_64_bit( &mut self, value: uint64, opcode_1: uint32, CRm: uint32, type_: c_int, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn store_coprocessor(
&mut self,
CRd: uint32,
N: uint32,
Options: uint32,
type_: c_int,
) -> Result<uint32>
pub fn store_coprocessor( &mut self, CRd: uint32, N: uint32, Options: uint32, type_: c_int, ) -> Result<uint32>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for ArmCoprocessorInterface
impl Interface for ArmCoprocessorInterface
source§const NAME: &'static [u8] = crate::api::sys::ARM_COPROCESSOR_INTERFACE
const NAME: &'static [u8] = crate::api::sys::ARM_COPROCESSOR_INTERFACE
The name of the interface
source§type InternalInterface = arm_coprocessor_interface
type InternalInterface = arm_coprocessor_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 ArmCoprocessorInterface
impl RefUnwindSafe for ArmCoprocessorInterface
impl !Send for ArmCoprocessorInterface
impl !Sync for ArmCoprocessorInterface
impl Unpin for ArmCoprocessorInterface
impl UnwindSafe for ArmCoprocessorInterface
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