Skip to main content

MaximumSystemCharacteristicsTable

Struct MaximumSystemCharacteristicsTable 

Source
#[repr(C, packed(1))]
pub struct MaximumSystemCharacteristicsTable { pub header: SDTHeader, pub offset_prox_dom_info: u32, pub max_number_of_proximity_domains: u32, pub max_number_of_clock_domains: u32, pub max_physical_address: u64, }
Expand description

§Maximum System Characteristics Table (MSCT)

This section describes the format of the Maximum System Characteristic Table (MSCT), which provides OSPM with information characteristics of a system’s maximum topology capabilities. If the system maximum topology is not known up front at boot time, then this table is not present. OSPM will use information provided by the MSCT only when the System Resource Affinity Table (SRAT) exists. The MSCT must contain all proximity and clock domains defined in the SRAT.

Fields§

§header: SDTHeader
  • Signature - “MSCT”
§offset_prox_dom_info: u32

Offset in bytes to the Proximity Domain Information Structure table entry.

§max_number_of_proximity_domains: u32

Indicates the maximum number of Proximity Domains ever possible in the system.

The number reported in this field is (maximum domains - 1). For example if there are 0x10000 possible domains in the system, this field would report 0xFFFF.

§max_number_of_clock_domains: u32

Indicates the maximum number of Clock Domains ever possible in the system.

The number reported in this field is (maximum domains - 1).

§max_physical_address: u64

Indicates the maximum Physical Address ever possible in the system.

Note: this is the top of the reachable physical address.

Implementations§

Source§

impl MaximumSystemCharacteristicsTable

Source

pub const fn proximity_domain_information( &self, ) -> &[MaximumProximityDomainInformation]

JJ’s Note: The specs say that this field is located somewhere depending on the offset field in the structure (not aligned with the structure at all), which is why I provided this.

Trait Implementations§

Source§

impl Clone for MaximumSystemCharacteristicsTable

Source§

fn clone(&self) -> MaximumSystemCharacteristicsTable

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MaximumSystemCharacteristicsTable

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.