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