BaseTools: Clear build versions to sync with buildtools/BaseTools
[mirror_edk2.git] / BaseTools / Source / C / Include / Common / WorkingBlockHeader.h
1 /** @file
2 Defines data structure that is the headers found at the runtime
3 updatable firmware volumes, such as the FileSystemGuid of the
4 working block, the header structure of the variable block, FTW
5 working block, or event log block.
6
7 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
8
9 This program and the accompanying materials are licensed and made available
10 under the terms and conditions of the BSD License which accompanies this
11 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 File Name: WorkingBlockHeader.h
18
19 **/
20
21 #ifndef __EFI_WORKING_BLOCK_HEADER_H__
22 #define __EFI_WORKING_BLOCK_HEADER_H__
23
24 //
25 // EFI Fault tolerant working block header
26 // The header is immediately followed by the write queue.
27 //
28 typedef struct {
29 EFI_GUID Signature;
30 UINT32 Crc;
31 UINT8 WorkingBlockValid : 1;
32 UINT8 WorkingBlockInvalid : 1;
33 #define WORKING_BLOCK_VALID 0x1
34 #define WORKING_BLOCK_INVALID 0x2
35 UINT8 Reserved : 6;
36 UINT8 Reserved3[3];
37 UINT64 WriteQueueSize;
38 //
39 // UINT8 WriteQueue[WriteQueueSize];
40 //
41 } EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER;
42
43 #endif