]>
Commit | Line | Data |
---|---|---|
8ca67c46 | 1 | /** @file\r |
0e0ab706 | 2 | GUID used to identify Data Hub records logged by Status Code Protocol.\r |
3db51098 | 3 | \r |
0e0ab706 | 4 | Copyright (c) 2006 - 2009, Intel Corporation \r |
5 | All rights reserved. This program and the accompanying materials \r | |
6 | are licensed and made available under the terms and conditions of the BSD License \r | |
7 | which accompanies this distribution. The full text of the license may be found at \r | |
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 |
19 | /// Global ID used to identify a structure of type DATA_HUB_STATUS_CODE_DATA_RECORD\r | |
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 |
27 | /// Data Hub data record that is used to store all the parameters passed into\r | |
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 | |
0e0ab706 | 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 | |
54 | /// Additional status code data\r | |
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 |