TianoCore EDK2 master
|
Data Fields | |
CHAR8 | Sig [EFI_NVDIMM_LABEL_INDEX_SIG_LEN] |
UINT8 | Flags [3] |
UINT8 | LabelSize |
UINT32 | Seq |
UINT64 | MyOff |
UINT64 | MySize |
UINT64 | OtherOff |
UINT64 | LabelOff |
UINT32 | NSlot |
UINT16 | Major |
UINT16 | Minor |
UINT64 | Checksum |
UINT8 | Free [] |
Definition at line 28 of file NvdimmLabel.h.
UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::Checksum |
64-bit Fletcher64 checksum of all fields in this Index Block.
Definition at line 89 of file NvdimmLabel.h.
UINT8 EFI_NVDIMM_LABEL_INDEX_BLOCK::Flags[3] |
Attributes of this Label Storage Area.
Definition at line 37 of file NvdimmLabel.h.
UINT8 EFI_NVDIMM_LABEL_INDEX_BLOCK::Free[] |
Array of unsigned bytes implementing a bitmask that tracks which label slots are free. A bit value of 0 indicates in use, 1 indicates free. The size of this field is the number of bytes required to hold the bitmask with NSlot bits, padded with additional zero bytes to make the Index Block size a multiple of EFI_NVDIMM_LABEL_INDEX_ALIGN. Any bits allocated beyond NSlot bits must be zero.
Definition at line 98 of file NvdimmLabel.h.
UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::LabelOff |
The offset of the first slot where labels are stored in this Label Storage Area.
Definition at line 69 of file NvdimmLabel.h.
UINT8 EFI_NVDIMM_LABEL_INDEX_BLOCK::LabelSize |
Size of each label in bytes, 128 bytes << LabelSize. 1 means 256 bytes, 2 means 512 bytes, etc. Shall be 1 or greater.
Definition at line 43 of file NvdimmLabel.h.
UINT16 EFI_NVDIMM_LABEL_INDEX_BLOCK::Major |
Major version number. Value shall be 1.
Definition at line 79 of file NvdimmLabel.h.
UINT16 EFI_NVDIMM_LABEL_INDEX_BLOCK::Minor |
Minor version number. Value shall be 2.
Definition at line 84 of file NvdimmLabel.h.
UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::MyOff |
The offset of this Index Block in the Label Storage Area.
Definition at line 53 of file NvdimmLabel.h.
UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::MySize |
The size of this Index Block in bytes. This field must be a multiple of the EFI_NVDIMM_LABEL_INDEX_ALIGN.
Definition at line 59 of file NvdimmLabel.h.
UINT32 EFI_NVDIMM_LABEL_INDEX_BLOCK::NSlot |
The total number of slots for storing labels in this Label Storage Area.
Definition at line 74 of file NvdimmLabel.h.
UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::OtherOff |
The offset of the other Index Block paired with this one.
Definition at line 64 of file NvdimmLabel.h.
UINT32 EFI_NVDIMM_LABEL_INDEX_BLOCK::Seq |
Sequence number used to identify which of the two Index Blocks is current.
Definition at line 48 of file NvdimmLabel.h.
CHAR8 EFI_NVDIMM_LABEL_INDEX_BLOCK::Sig[EFI_NVDIMM_LABEL_INDEX_SIG_LEN] |
Signature of the Index Block data structure. Must be "NAMESPACE_INDEX\0".
Definition at line 32 of file NvdimmLabel.h.