|
XenevaOS
|
#include <NvdimmLabel.h>
Public Attributes | |
| 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 [] |
| UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::Checksum |
64-bit Fletcher64 checksum of all fields in this Index Block.
| UINT8 EFI_NVDIMM_LABEL_INDEX_BLOCK::Flags[3] |
Attributes of this Label Storage Area.
| 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.
| UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::LabelOff |
The offset of the first slot where labels are stored in this Label Storage Area.
| 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.
| UINT16 EFI_NVDIMM_LABEL_INDEX_BLOCK::Major |
Major version number. Value shall be 1.
| UINT16 EFI_NVDIMM_LABEL_INDEX_BLOCK::Minor |
Minor version number. Value shall be 2.
| UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::MyOff |
The offset of this Index Block in the Label Storage Area.
| 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.
| UINT32 EFI_NVDIMM_LABEL_INDEX_BLOCK::NSlot |
The total number of slots for storing labels in this Label Storage Area.
| UINT64 EFI_NVDIMM_LABEL_INDEX_BLOCK::OtherOff |
The offset of the other Index Block paired with this one.
| UINT32 EFI_NVDIMM_LABEL_INDEX_BLOCK::Seq |
Sequence number used to identify which of the two Index Blocks is current.
| 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".