]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/WorkingBlockHeader.h
Add comments and DoxyGen format for these files.
[mirror_edk2.git] / MdeModulePkg / Include / WorkingBlockHeader.h
CommitLineData
504214c4 1/** @file\r
3cfb790c 2\r
504214c4
LG
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
7Copyright (c) 2006 - 2008, Intel Corporation\r
3cfb790c 8All rights reserved. This program and the accompanying materials\r
9are licensed and made available under the terms and conditions of the BSD License\r
10which accompanies this distribution. The full text of the license may be found at\r
11http://opensource.org/licenses/bsd-license.php\r
12\r
13THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
15\r
504214c4 16**/\r
3cfb790c 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
25typedef 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