Skip to main content

AcpiTopology

Trait AcpiTopology 

Source
pub trait AcpiTopology:
    ArchTopology
    + Inspect
    + Sized {
    // Required methods
    fn extend_srat(topology: &ProcessorTopology<Self>, srat: &mut Vec<u8>);
    fn extend_madt(topology: &ProcessorTopology<Self>, madt: &mut Vec<u8>);

    // Provided methods
    fn needs_iort(_topology: &ProcessorTopology<Self>) -> bool { ... }
    fn iort_its_id(_topology: &ProcessorTopology<Self>) -> Option<u32> { ... }
}

Required Methods§

Source

fn extend_srat(topology: &ProcessorTopology<Self>, srat: &mut Vec<u8>)

Source

fn extend_madt(topology: &ProcessorTopology<Self>, madt: &mut Vec<u8>)

Provided Methods§

Source

fn needs_iort(_topology: &ProcessorTopology<Self>) -> bool

Source

fn iort_its_id(_topology: &ProcessorTopology<Self>) -> Option<u32>

If the platform has an ITS, return its identifier for the IORT ITS Group node. Returns None when no ITS is present (root complex nodes will have no ID mappings).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AcpiTopology for Aarch64Topology

Source§

fn extend_srat(topology: &ProcessorTopology<Self>, srat: &mut Vec<u8>)

Source§

fn extend_madt(topology: &ProcessorTopology<Self>, madt: &mut Vec<u8>)

Source§

fn needs_iort(_topology: &ProcessorTopology<Self>) -> bool

Source§

fn iort_its_id(topology: &ProcessorTopology<Self>) -> Option<u32>

Source§

impl AcpiTopology for X86Topology

Source§

fn extend_srat(topology: &ProcessorTopology<Self>, srat: &mut Vec<u8>)

Source§

fn extend_madt(topology: &ProcessorTopology<Self>, madt: &mut Vec<u8>)

Implementors§