16#ifndef __EFI_NVDIMM_LABEL_PROTOCOL_H__
17#define __EFI_NVDIMM_LABEL_PROTOCOL_H__
19#define EFI_NVDIMM_LABEL_PROTOCOL_GUID \
21 0xd40b6b80, 0x97d5, 0x4282, {0xbb, 0x1d, 0x22, 0x3a, 0x16, 0x91, 0x80, 0x58 } \
26#define EFI_NVDIMM_LABEL_INDEX_SIG_LEN 16
27#define EFI_NVDIMM_LABEL_INDEX_ALIGN 256
32 CHAR8 Sig[EFI_NVDIMM_LABEL_INDEX_SIG_LEN];
101#define EFI_NVDIMM_LABEL_NAME_LEN 64
106#define EFI_NVDIMM_LABEL_FLAGS_ROLABEL 0x00000001
114#define EFI_NVDIMM_LABEL_FLAGS_LOCAL 0x00000002
120#define EFI_NVDIMM_LABEL_FLAGS_RESERVED 0x00000004
125#define EFI_NVDIMM_LABEL_FLAGS_UPDATING 0x00000008
131#define EFI_NVDIMM_LABEL_FLAGS_SPACOOKIE_BOUND 0x00000010
142 CHAR8 Name[EFI_NVDIMM_LABEL_NAME_LEN];
283 OUT UINT32 *SizeOfLabelStorageArea,
284 OUT UINT32 *MaxTransferLength
315 IN UINT32 TransferLength,
346 IN UINT32 TransferLength,
359extern EFI_GUID gEfiNvdimmLabelProtocolGuid;
EFI_STATUS(EFIAPI * EFI_NVDIMM_LABEL_STORAGE_WRITE)(IN CONST EFI_NVDIMM_LABEL_PROTOCOL *This, IN UINT32 Offset, IN UINT32 TransferLength, IN UINT8 *LabelData)
EFI_STATUS(EFIAPI * EFI_NVDIMM_LABEL_STORAGE_READ)(IN CONST EFI_NVDIMM_LABEL_PROTOCOL *This, IN UINT32 Offset, IN UINT32 TransferLength, OUT UINT8 *LabelData)
EFI_STATUS(EFIAPI * EFI_NVDIMM_LABEL_STORAGE_INFORMATION)(IN EFI_NVDIMM_LABEL_PROTOCOL *This, OUT UINT32 *SizeOfLabelStorageArea, OUT UINT32 *MaxTransferLength)
UINT8 ManufacturingLocation
EFI_GUID AddressAbstractionGuid