]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Guid/StatusCodeDataTypeVariable.h
MdeModulePkg: Add match2 opcode support in SetupBrowserDxe and sample code in DriverS...
[mirror_edk2.git] / MdeModulePkg / Include / Guid / StatusCodeDataTypeVariable.h
CommitLineData
69fc8f08
RN
1/** @file\r
2 This file defines the GUID and data structure used to pass variable setting \r
3 failure information to the Status Code Protocol.\r
4\r
5Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
6This program and the accompanying materials are licensed and made available under \r
7the terms and conditions of the BSD License that accompanies this distribution. \r
8The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php.\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _STATUS_CODE_DATA_TYPE_VARIABLE_H_\r
17#define _STATUS_CODE_DATA_TYPE_VARIABLE_H_\r
18\r
19///\r
20/// The Global ID used to identify a structure of type EDKII_SET_VARIABLE_STATUS.\r
21/// The status code value is PcdGet32 (PcdErrorCodeSetVariable).\r
22///\r
23#define EDKII_STATUS_CODE_DATA_TYPE_VARIABLE_GUID \\r
24 { \\r
25 0xf6ee6dbb, 0xd67f, 0x4ea0, { 0x8b, 0x96, 0x6a, 0x71, 0xb1, 0x9d, 0x84, 0xad } \\r
26 }\r
27\r
28typedef struct {\r
29 EFI_GUID Guid;\r
30 UINTN NameSize;\r
31 UINTN DataSize;\r
32 EFI_STATUS SetStatus;\r
33 UINT32 Attributes;\r
34 // CHAR16 Name[];\r
35 // UINT8 Data[];\r
36} EDKII_SET_VARIABLE_STATUS;\r
37\r
38extern EFI_GUID gEdkiiStatusCodeDataTypeVariableGuid;\r
39\r
40#endif // _STATUS_CODE_DATA_TYPE_VARIABLE_H_\r