]>
Commit | Line | Data |
---|---|---|
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 | |
5 | Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r | |
6 | This program and the accompanying materials are licensed and made available under \r | |
7 | the terms and conditions of the BSD License that accompanies this distribution. \r | |
8 | The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php.\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT 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 | |
28 | typedef 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 | |
38 | extern EFI_GUID gEdkiiStatusCodeDataTypeVariableGuid;\r | |
39 | \r | |
40 | #endif // _STATUS_CODE_DATA_TYPE_VARIABLE_H_\r |