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