pub struct Aarch64PlatformConfig {
pub gic_distributor_base: u64,
pub gic_redistributors_base: u64,
pub gic_v2m: Option<GicV2mInfo>,
pub pmu_gsiv: Option<u32>,
pub virt_timer_ppi: u32,
}Expand description
ARM64 platform interrupt and GIC configuration.
Groups GIC base addresses, MSI frame info, and platform interrupt
assignments (PMU, virtual timer) into a single struct so that the
topology builder takes one value instead of several positional u32s.
Fields§
§gic_distributor_base: u64GIC distributor base address.
gic_redistributors_base: u64GIC redistributors base address.
gic_v2m: Option<GicV2mInfo>GIC v2m MSI frame, if MSIs via v2m are supported.
pmu_gsiv: Option<u32>Performance Monitor Unit GSIV (GIC INTID). None if not available.
virt_timer_ppi: u32Virtual timer PPI (GIC INTID, e.g. 20 for PPI 4).
Trait Implementations§
Source§impl Clone for Aarch64PlatformConfig
impl Clone for Aarch64PlatformConfig
Source§fn clone(&self) -> Aarch64PlatformConfig
fn clone(&self) -> Aarch64PlatformConfig
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 moreSource§impl Debug for Aarch64PlatformConfig
impl Debug for Aarch64PlatformConfig
Source§impl Inspect for Aarch64PlatformConfig
impl Inspect for Aarch64PlatformConfig
Source§impl PartialEq for Aarch64PlatformConfig
impl PartialEq for Aarch64PlatformConfig
impl Copy for Aarch64PlatformConfig
impl Eq for Aarch64PlatformConfig
impl StructuralPartialEq for Aarch64PlatformConfig
Auto Trait Implementations§
impl Freeze for Aarch64PlatformConfig
impl RefUnwindSafe for Aarch64PlatformConfig
impl Send for Aarch64PlatformConfig
impl Sync for Aarch64PlatformConfig
impl Unpin for Aarch64PlatformConfig
impl UnwindSafe for Aarch64PlatformConfig
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