]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/Include/Common/WorkingBlockHeader.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / BaseTools / Source / C / Include / Common / WorkingBlockHeader.h
1 /** @file
2 Defines data structure that is the headers found at the runtime
3 updatable firmware volumes, such as the FileSystemGuid of the
4 working block, the header structure of the variable block, FTW
5 working block, or event log block.
6
7 Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
8
9 SPDX-License-Identifier: BSD-2-Clause-Patent
10
11 **/
12
13 #ifndef __EFI_WORKING_BLOCK_HEADER_H__
14 #define __EFI_WORKING_BLOCK_HEADER_H__
15
16 //
17 // EFI Fault tolerant working block header
18 // The header is immediately followed by the write queue.
19 //
20 typedef struct {
21 EFI_GUID Signature;
22 UINT32 Crc;
23 UINT8 WorkingBlockValid : 1;
24 UINT8 WorkingBlockInvalid : 1;
25 #define WORKING_BLOCK_VALID 0x1
26 #define WORKING_BLOCK_INVALID 0x2
27 UINT8 Reserved : 6;
28 UINT8 Reserved3[3];
29 UINT64 WriteQueueSize;
30 //
31 // UINT8 WriteQueue[WriteQueueSize];
32 //
33 } EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER;
34
35 #endif