pub struct GICCPUInterfaceFlags(/* private fields */);Expand description
§GIC CPU Interface Flags
Implementations§
Source§impl GICCPUInterfaceFlags
impl GICCPUInterfaceFlags
Sourcepub const fn enabled(&self) -> bool
pub const fn enabled(&self) -> bool
If this bit is set, the processor is ready for use. If this bit is clear and the Online Capable bit is set, the system supports enabling this processor during OS runtime.
If this bit is clear and the Online Capable bit is also clear, this processor is unusable, and the operating system support will not attempt to use it.
Sourcepub const fn performance_interrupt_mode(&self) -> bool
pub const fn performance_interrupt_mode(&self) -> bool
- 0 - Level-triggered
- 1 - Edge-triggered
Sourcepub const fn vgic_maintenance_interrupt_mode_flags(&self) -> bool
pub const fn vgic_maintenance_interrupt_mode_flags(&self) -> bool
- 0 - Level-triggered
- 1 - Edge-triggered
Sourcepub const fn online_capable(&self) -> bool
pub const fn online_capable(&self) -> bool
The information conveyed by this bit depends on the value of the Enabled bit.
If the Enabled bit is set, this bit is reserved and must be zero. Otherwise, if this bit is set, the system supports enabling this processor later during OS runtime.
Trait Implementations§
Source§impl Clone for GICCPUInterfaceFlags
impl Clone for GICCPUInterfaceFlags
Source§fn clone(&self) -> GICCPUInterfaceFlags
fn clone(&self) -> GICCPUInterfaceFlags
Returns a duplicate 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 moreimpl Copy for GICCPUInterfaceFlags
Auto Trait Implementations§
impl Freeze for GICCPUInterfaceFlags
impl RefUnwindSafe for GICCPUInterfaceFlags
impl Send for GICCPUInterfaceFlags
impl Sync for GICCPUInterfaceFlags
impl Unpin for GICCPUInterfaceFlags
impl UnwindSafe for GICCPUInterfaceFlags
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