2 This file defines NvDataFv GUID and FTW working block structure header.
3 This guid can be used as FileSystemGuid in EFI_FIRMWARE_VOLUME_HEADER if
4 this FV image contains NV data, such as NV variable data.
5 This guid can also be used as the signature of FTW working block header.
7 Copyright (c) 2006 - 2009, Intel Corporation
8 All rights reserved. This program and the accompanying materials
9 are licensed and made available under the terms and conditions of the BSD License
10 which accompanies this distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #ifndef __SYSTEM_NV_DATA_GUID_H__
19 #define __SYSTEM_NV_DATA_GUID_H__
21 #define EFI_SYSTEM_NV_DATA_FV_GUID \
22 {0xfff12b8d, 0x7696, 0x4c8b, {0xa9, 0x85, 0x27, 0x47, 0x7, 0x5b, 0x4f, 0x50} }
25 /// NvDataFv GUID used as the signature of FTW working block header.
27 extern EFI_GUID gEfiSystemNvDataFvGuid
;
29 #define WORKING_BLOCK_VALID 0x1
30 #define WORKING_BLOCK_INVALID 0x2
33 /// EDKII Fault tolerant working block header
34 /// The header is immediately followed by the write queue data.
38 /// System Non Volatile FV Guid
42 /// 32bit CRC caculated for this header
46 /// Working block valid bit
48 UINT8 WorkingBlockValid
: 1;
49 UINT8 WorkingBlockInvalid
: 1;
53 /// Total size of the following write queue range.
55 UINT64 WriteQueueSize
;
58 /// UINT8 WriteQueue[WriteQueueSize];
60 } EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER
;