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