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