Struct simics_api_sys::bindings::hpi_interface
source · #[repr(C)]pub struct hpi_interface {
pub read_hpic: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint32>,
pub write_hpic: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32)>,
pub read_hpia: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint32>,
pub write_hpia: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32)>,
pub read_hpid: Option<unsafe extern "C" fn(obj: *mut conf_object_t, autoincrement: c_int) -> uint32>,
pub write_hpid: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32, autoincrement: c_int)>,
}
Fields§
§read_hpic: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint32>
HCNTL = 0
write_hpic: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32)>
§read_hpia: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint32>
HCNTL = 1
write_hpia: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32)>
§read_hpid: Option<unsafe extern "C" fn(obj: *mut conf_object_t, autoincrement: c_int) -> uint32>
HCNTL = 1 (autoincrement == 0) / / HCNTL = 2 (autoincrement == 1)
write_hpid: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint32, autoincrement: c_int)>
Trait Implementations§
source§impl Clone for hpi_interface
impl Clone for hpi_interface
source§fn clone(&self) -> hpi_interface
fn clone(&self) -> hpi_interface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for hpi_interface
impl Debug for hpi_interface
source§impl Default for hpi_interface
impl Default for hpi_interface
source§fn default() -> hpi_interface
fn default() -> hpi_interface
Returns the “default value” for a type. Read more
source§impl Hash for hpi_interface
impl Hash for hpi_interface
source§impl Ord for hpi_interface
impl Ord for hpi_interface
source§fn cmp(&self, other: &hpi_interface) -> Ordering
fn cmp(&self, other: &hpi_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for hpi_interface
impl PartialEq for hpi_interface
source§impl PartialOrd for hpi_interface
impl PartialOrd for hpi_interface
impl Copy for hpi_interface
impl Eq for hpi_interface
impl StructuralPartialEq for hpi_interface
Auto Trait Implementations§
impl Freeze for hpi_interface
impl RefUnwindSafe for hpi_interface
impl Send for hpi_interface
impl Sync for hpi_interface
impl Unpin for hpi_interface
impl UnwindSafe for hpi_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)