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