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