]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Guid/SystemNvDataGuid.h
Code Clean for Driver PlatformDriOverrideDxe and PlatOverMngr application. And Clean...
[mirror_edk2.git] / MdeModulePkg / Include / Guid / SystemNvDataGuid.h
1 /** @file
2 This file defines NvData Hob GUIDs for System Non Volatile HOB entries and the corresponding hob data structure.
3 NvData Hob is used to report the region of the system non volatile data
4 for the specific purpose, such as FTW region, Error log region.
5
6 It also defines NvDataFv GUID used as the signature of FTW working block header.
7
8 Copyright (c) 2006 - 2008, Intel Corporation
9 All rights reserved. This program and the accompanying materials
10 are licensed and made available under the terms and conditions of the BSD License
11 which accompanies this distribution. The full text of the license may be found at
12 http://opensource.org/licenses/bsd-license.php
13
14 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16
17 **/
18
19 #ifndef __SYSTEM_NV_DATA_GUID_H__
20 #define __SYSTEM_NV_DATA_GUID_H__
21
22 #define EFI_SYSTEM_NV_DATA_FV_GUID \
23 {0xfff12b8d, 0x7696, 0x4c8b, {0xa9, 0x85, 0x27, 0x47, 0x7, 0x5b, 0x4f, 0x50} }
24
25 #define EFI_SYSTEM_NV_DATA_HOB_GUID \
26 {0xd6e5092d, 0xc7b2, 0x4872, {0xaf, 0x66, 0xfd, 0xc0, 0xe6, 0xf9, 0x5e, 0x78} }
27
28 ///
29 /// Hob entry for NV data region
30 ///
31 typedef struct {
32 EFI_GUID SystemNvDataHobGuid; ///> EFI_SYSTEM_NV_DATA_HOB_GUID
33 EFI_GUID SystemNvDataFvGuid; ///> Guid specifies the NvData Fv for the specific purpose, such as FTW, Error Log.
34 EFI_LBA StartLba; ///> The starting logical block index.
35 UINTN StartLbaOffset; ///> Offset into the starting block at which to the start of NvData region.
36 EFI_LBA EndLba; ///> The last logical block index.
37 UINTN EndLbaOffset; ///> Offset into the last block at which to the end of Nvdata region.
38 UINT32 DataTypeSignature; ///> NvData type in the specified NV range.
39 } NV_SYSTEM_DATA_GUID_TYPE;
40
41 extern EFI_GUID gEfiSystemNvDataHobGuid;
42
43 ///
44 /// NvDataFv GUID used as the signature of FTW working block header.
45 ///
46 extern EFI_GUID gEfiSystemNvDataFvGuid;
47
48 #endif