]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/WorkingBlockHeader.h
Add the support of GUID opcode which enable SetupBrowser to support IFR generated...
[mirror_edk2.git] / MdeModulePkg / Include / WorkingBlockHeader.h
CommitLineData
504214c4 1/** @file\r
3cfb790c 2\r
504214c4
LG
3 The header structure of FTW working block region.\r
4\r
5Copyright (c) 2006 - 2008, Intel Corporation\r
3cfb790c 6All rights reserved. This program and the accompanying materials\r
7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
504214c4 14**/\r
3cfb790c 15\r
16#ifndef __EFI_WORKING_BLOCK_HEADER_H__\r
17#define __EFI_WORKING_BLOCK_HEADER_H__\r
18\r
19//\r
20// EFI Fault tolerant working block header\r
21// The header is immediately followed by the write queue.\r
22//\r
23typedef struct {\r
24 EFI_GUID Signature;\r
25 UINT32 Crc;\r
26 UINT8 WorkingBlockValid : 1;\r
27 UINT8 WorkingBlockInvalid : 1;\r
28#define WORKING_BLOCK_VALID 0x1\r
29#define WORKING_BLOCK_INVALID 0x2\r
30 UINT8 Reserved : 6;\r
31 UINT8 Reserved3[3];\r
2a958a00 32 UINT64 WriteQueueSize;\r
3cfb790c 33 //\r
34 // UINT8 WriteQueue[WriteQueueSize];\r
35 //\r
36} EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER;\r
37\r
38#endif\r