Skip to main content

MemoryArrayMappedAddress

Struct MemoryArrayMappedAddress 

Source
pub struct MemoryArrayMappedAddress {
    pub handle: u16,
    pub starting_address: u32,
    pub ending_address: u32,
    pub memory_array_handle: u16,
    pub partition_width: u8,
    pub extended_starting_address: Option<u64>,
    pub extended_ending_address: Option<u64>,
}
Expand description

Main struct for Memory Array Mapped Address (Type 19)

Fields§

§handle: u16

Specifies the structure’s handle

§starting_address: u32

Physical address, in kilobytes, of a range of memory mapped to the specified Physical Memory Array.
When the field value is FFFF FFFFh, the actual address is stored in the Extended Starting Address field. When this field contains a valid address, Ending Address must also contain a valid address. When this field contains FFFF FFFFh, Ending Address must also contain FFFF FFFFh

§ending_address: u32

Physical ending address of the last kilobyte of a range of addresses mapped to the specified Physical Memory Array.
When the field value is FFFF FFFFh and the Starting Address field also contains FFFF FFFFh, the actual address is stored in the Extended Ending Address field. When this field contains a valid address, Starting Address must also contain a valid address.

§memory_array_handle: u16

Handle, or instance number, associated with the Physical Memory Array to which this address range is mapped.
Multiple address ranges can be mapped to a single Physical Memory Array.

§partition_width: u8

Number of Memory Devices that form a single row of memory for the address partition defined by this structure.

§extended_starting_address: Option<u64>

Physical address, in bytes, of a range of memory mapped to the specified Physical Memory Array.
This field is valid when Starting Address contains the value FFFF FFFFh. If Starting Address contains a value other than FFFF FFFFh, this field contains zeros. When this field contains a valid address, Extended Ending Address must also contain a valid address.

§extended_ending_address: Option<u64>

Physical ending address, in bytes, of the last of a range of addresses mapped to the specified Physical Memory Array.
This field is valid when both Starting Address and Ending Address contain the value FFFF FFFFh. If Ending Address contains a value other than FFFF FFFFh, this field contains zeros. When this field contains a valid address, Extended Starting Address must also contain a valid address.

Trait Implementations§

Source§

impl Clone for MemoryArrayMappedAddress

Source§

fn clone(&self) -> MemoryArrayMappedAddress

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 Debug for MemoryArrayMappedAddress

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for MemoryArrayMappedAddress

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for MemoryArrayMappedAddress

Source§

fn eq(&self, other: &MemoryArrayMappedAddress) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for MemoryArrayMappedAddress

Source§

impl Eq for MemoryArrayMappedAddress

Source§

impl StructuralPartialEq for MemoryArrayMappedAddress

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.