summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/Guid/SystemNvDataGuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Include/Guid/SystemNvDataGuid.h')
-rw-r--r--MdeModulePkg/Include/Guid/SystemNvDataGuid.h26
1 files changed, 17 insertions, 9 deletions
diff --git a/MdeModulePkg/Include/Guid/SystemNvDataGuid.h b/MdeModulePkg/Include/Guid/SystemNvDataGuid.h
index 137ed230a1..1f9e5e7987 100644
--- a/MdeModulePkg/Include/Guid/SystemNvDataGuid.h
+++ b/MdeModulePkg/Include/Guid/SystemNvDataGuid.h
@@ -1,6 +1,7 @@
/** @file
- This file defines GUIDs used for System Non Volatile HOB entries in the HOB list,
- and FV Guids that carrying the System specific information.
+ This file defines NvDataHob GUIDs for System Non Volatile HOB entries
+ in the HOB list and NV system hob entry structure.
+ It also defines NvDataFv GUID used as the signature of FTW working block header.
Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -22,17 +23,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define EFI_SYSTEM_NV_DATA_HOB_GUID \
{0xd6e5092d, 0xc7b2, 0x4872, {0xaf, 0x66, 0xfd, 0xc0, 0xe6, 0xf9, 0x5e, 0x78} }
+///
+/// Hob entry for NV data region
+///
typedef struct {
- EFI_GUID SystemNvDataHobGuid;
- EFI_GUID SystemNvDataFvGuid;
- EFI_LBA StartLba;
- UINTN StartLbaOffset;
- EFI_LBA EndLba;
- UINTN EndLbaOffset;
- UINT32 DataTypeSignature;
+ EFI_GUID SystemNvDataHobGuid; /// EFI_SYSTEM_NV_DATA_HOB_GUID
+ EFI_GUID SystemNvDataFvGuid; /// Guid specifies the NvData Fv for the specific purpose, such as FTW, Error Log.
+ EFI_LBA StartLba; /// The starting logical block index.
+ UINTN StartLbaOffset; /// Offset into the starting block at which to the start of NvData region.
+ EFI_LBA EndLba; /// The last logical block index.
+ UINTN EndLbaOffset; /// Offset into the last block at which to the end of Nvdata region.
+ UINT32 DataTypeSignature; /// NvData type in the specified NV range.
} NV_SYSTEM_DATA_GUID_TYPE;
extern EFI_GUID gEfiSystemNvDataHobGuid;
+
+///
+/// NvDataFv GUID used as the signature of FTW working block header.
+///
extern EFI_GUID gEfiSystemNvDataFvGuid;
#endif