]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Include/EfiWorkingBlockHeader.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Include / EfiWorkingBlockHeader.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 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 UINT8 WorkingBlockValid : 1;\r
36 UINT8 WorkingBlockInvalid : 1;\r
37#define WORKING_BLOCK_VALID 0x1\r
38#define WORKING_BLOCK_INVALID 0x2\r
39 UINT8 Reserved : 6;\r
40 UINT8 Reserved3[3];\r
41 UINT64 WriteQueueSize;\r
42 //\r
43 // UINT8 WriteQueue[WriteQueueSize];\r
44 //\r
45} EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER;\r
46\r
47#endif\r