Fix some cleanall issues
[mirror_edk2.git] / EdkModulePkg / Include / Common / WorkingBlockHeader.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 EfiWorkingBlockHeader.h\r
15\r
16Abstract:\r
17\r
18 Defines data structure that is the headers found at the runtime \r
19 updatable firmware volumes, such as the FileSystemGuid of the \r
20 working block, the header structure of the variable block, FTW\r
21 working block, or event log block.\r
22\r
23--*/\r
24\r
25#ifndef _EFI_WORKING_BLOCK_HEADER_H_\r
26#define _EFI_WORKING_BLOCK_HEADER_H_\r
27\r
28//\r
29// EFI Fault tolerant working block header\r
30// The header is immediately followed by the write queue.\r
31//\r
32typedef struct {\r
33 EFI_GUID Signature;\r
34 UINT32 Crc;\r
35 UINT32 WorkingBlockValid : 1;\r
36 UINT32 WorkingBlockInvalid : 1;\r
37#define WORKING_BLOCK_VALID 0x1\r
38#define WORKING_BLOCK_INVALID 0x2\r
39 UINT32 Reserved : 6;\r
40 UINT8 Reserved3[3];\r
41 UINTN WriteQueueSize;\r
42 //\r
43 // UINT8 WriteQueue[WriteQueueSize];\r
44 //\r
45} EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER;\r
46\r
47#endif\r