pub enum MemorySizeExtended {
Megabytes(u32),
SeeSize,
}Expand description
§Extended Size of Memory
Variants§
Megabytes(u32)
Size of Memory (MB)
SeeSize
See the size field.
For compatibility with older SMBIOS parsers, memory devices smaller than (32 GB - 1 MB) should be represented using their size in the Size field, leaving the Extended Size field set to 0.
Trait Implementations§
Source§impl Debug for MemorySizeExtended
impl Debug for MemorySizeExtended
Source§impl From<u32> for MemorySizeExtended
Bit 31 is reserved for future use and must be set to 0.
Bits 30:0 represent the size of the memory device in megabytes.
impl From<u32> for MemorySizeExtended
Bit 31 is reserved for future use and must be set to 0. Bits 30:0 represent the size of the memory device in megabytes.