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