]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Guid/StatusCodeDataTypeVariable.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Include / Guid / StatusCodeDataTypeVariable.h
1 /** @file
2 This file defines the GUID and data structure used to pass variable setting
3 failure information to the Status Code Protocol.
4
5 Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef _STATUS_CODE_DATA_TYPE_VARIABLE_H_
11 #define _STATUS_CODE_DATA_TYPE_VARIABLE_H_
12
13 ///
14 /// The Global ID used to identify a structure of type EDKII_SET_VARIABLE_STATUS.
15 /// The status code value is PcdGet32 (PcdErrorCodeSetVariable).
16 ///
17 #define EDKII_STATUS_CODE_DATA_TYPE_VARIABLE_GUID \
18 { \
19 0xf6ee6dbb, 0xd67f, 0x4ea0, { 0x8b, 0x96, 0x6a, 0x71, 0xb1, 0x9d, 0x84, 0xad } \
20 }
21
22 typedef struct {
23 EFI_GUID Guid;
24 UINTN NameSize;
25 UINTN DataSize;
26 EFI_STATUS SetStatus;
27 UINT32 Attributes;
28 // CHAR16 Name[];
29 // UINT8 Data[];
30 } EDKII_SET_VARIABLE_STATUS;
31
32 extern EFI_GUID gEdkiiStatusCodeDataTypeVariableGuid;
33
34 #endif // _STATUS_CODE_DATA_TYPE_VARIABLE_H_