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