Struct simics_api_sys::apic_cpu_interface
source · #[repr(C)]pub struct apic_cpu_interface {
pub tpr_r: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint64>,
pub tpr_w: Option<unsafe extern "C" fn(obj: *mut conf_object_t, tpr: uint64)>,
pub local_int: Option<unsafe extern "C" fn(obj: *mut conf_object_t, int_type: local_apic_interrupt_t)>,
pub power_on: Option<unsafe extern "C" fn(obj: *mut conf_object_t, bsp: bool, apic_id: c_int)>,
pub init: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>,
pub enabled_r: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>,
}
Fields§
§tpr_r: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint64>
§tpr_w: Option<unsafe extern "C" fn(obj: *mut conf_object_t, tpr: uint64)>
§local_int: Option<unsafe extern "C" fn(obj: *mut conf_object_t, int_type: local_apic_interrupt_t)>
§power_on: Option<unsafe extern "C" fn(obj: *mut conf_object_t, bsp: bool, apic_id: c_int)>
§init: Option<unsafe extern "C" fn(obj: *mut conf_object_t)>
§enabled_r: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> bool>
Trait Implementations§
source§impl Clone for apic_cpu_interface
impl Clone for apic_cpu_interface
source§fn clone(&self) -> apic_cpu_interface
fn clone(&self) -> apic_cpu_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 apic_cpu_interface
impl Debug for apic_cpu_interface
source§impl Default for apic_cpu_interface
impl Default for apic_cpu_interface
source§fn default() -> apic_cpu_interface
fn default() -> apic_cpu_interface
Returns the “default value” for a type. Read more
source§impl Hash for apic_cpu_interface
impl Hash for apic_cpu_interface
source§impl Ord for apic_cpu_interface
impl Ord for apic_cpu_interface
source§fn cmp(&self, other: &apic_cpu_interface) -> Ordering
fn cmp(&self, other: &apic_cpu_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 apic_cpu_interface
impl PartialEq for apic_cpu_interface
source§impl PartialOrd for apic_cpu_interface
impl PartialOrd for apic_cpu_interface
impl Copy for apic_cpu_interface
impl Eq for apic_cpu_interface
impl StructuralPartialEq for apic_cpu_interface
Auto Trait Implementations§
impl Freeze for apic_cpu_interface
impl RefUnwindSafe for apic_cpu_interface
impl Send for apic_cpu_interface
impl Sync for apic_cpu_interface
impl Unpin for apic_cpu_interface
impl UnwindSafe for apic_cpu_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
)