3 The header structure of FTW working block region.
5 Copyright (c) 2006 - 2008, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef __EFI_WORKING_BLOCK_HEADER_H__
17 #define __EFI_WORKING_BLOCK_HEADER_H__
19 #define WORKING_BLOCK_VALID 0x1
20 #define WORKING_BLOCK_INVALID 0x2
23 /// EDKII Fault tolerant working block header
24 /// The header is immediately followed by the write queue data.
28 /// System Non Volatile FV Guid
32 /// 32bit CRC caculated for this header
36 /// Working block valid bit
38 UINT8 WorkingBlockValid
: 1;
39 UINT8 WorkingBlockInvalid
: 1;
43 /// Total size of the following write queue range.
45 UINT64 WriteQueueSize
;
48 /// UINT8 WriteQueue[WriteQueueSize];
50 } EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER
;