]>
Commit | Line | Data |
---|---|---|
8ca67c46 | 1 | /** @file\r |
0e0ab706 | 2 | GUID used to identify Data Hub records logged by Status Code Protocol.\r |
0a6f4824 LG |
3 | \r |
4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials are licensed and made available under\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution.\r | |
49fd8a35 | 7 | The full text of the license may be found at\r |
0a6f4824 LG |
8 | http://opensource.org/licenses/bsd-license.php.\r |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
a9102619 | 12 | \r |
3db51098 | 13 | **/\r |
a9102619 | 14 | \r |
20774adc LG |
15 | #ifndef __DATA_HUB_STATUS_CODE_RECORD_H__\r |
16 | #define __DATA_HUB_STATUS_CODE_RECORD_H__\r | |
a9102619 | 17 | \r |
0e0ab706 | 18 | ///\r |
49fd8a35 | 19 | /// The Global ID used to identify a structure of type DATA_HUB_STATUS_CODE_DATA_RECORD.\r |
0e0ab706 | 20 | ///\r |
29941df6 | 21 | #define EFI_DATA_HUB_STATUS_CODE_RECORD_GUID \\r |
a9102619 | 22 | { \\r |
23 | 0xd083e94c, 0x6560, 0x42e4, {0xb6, 0xd4, 0x2d, 0xf7, 0x5a, 0xdf, 0x6a, 0x2a } \\r | |
24 | }\r | |
25 | \r | |
0e0ab706 | 26 | ///\r |
49fd8a35 | 27 | /// The Data Hub data record that is used to store all the parameters passed into\r |
0e0ab706 | 28 | /// the ReportStatusCode() service of the EFI_STATUS_CODE_PROTOCOL.\r |
29 | ///\r | |
3f07ea9c | 30 | typedef struct {\r |
20774adc LG |
31 | ///\r |
32 | /// Status Code type to be reported.\r | |
33 | ///\r | |
0e0ab706 | 34 | EFI_STATUS_CODE_TYPE CodeType;\r |
20774adc LG |
35 | \r |
36 | ///\r | |
97482d94 | 37 | /// An operation, plus value information about the class and subclass, used to\r |
38 | /// classify the hardware and software entity.\r | |
20774adc | 39 | ///\r |
0e0ab706 | 40 | EFI_STATUS_CODE_VALUE Value;\r |
20774adc LG |
41 | \r |
42 | ///\r | |
43 | /// The enumeration of a hardware or software entity within\r | |
49fd8a35 | 44 | /// the system. Valid instance numbers start with 1.\r |
20774adc | 45 | ///\r |
0e0ab706 | 46 | UINT32 Instance;\r |
20774adc LG |
47 | \r |
48 | ///\r | |
49 | /// Identify the caller.\r | |
50 | ///\r | |
0e0ab706 | 51 | EFI_GUID CallerId;\r |
20774adc LG |
52 | \r |
53 | ///\r | |
49fd8a35 | 54 | /// Additional status code data.\r |
20774adc | 55 | ///\r |
0e0ab706 | 56 | EFI_STATUS_CODE_DATA Data;\r |
3f07ea9c | 57 | } DATA_HUB_STATUS_CODE_DATA_RECORD;\r |
58 | \r | |
29941df6 | 59 | extern EFI_GUID gEfiDataHubStatusCodeRecordGuid;\r |
a9102619 | 60 | \r |
20774adc | 61 | #endif\r |