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