]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h
3f1b918f4711a3cd7d91c936565d7d43ac71ba29
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Guid / DataHubStatusCodeRecord.h
1 /** @file
2 GUID used to identify Data Hub records logged by Status Code Protocol.
3
4 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef __DATA_HUB_STATUS_CODE_RECORD_H__
10 #define __DATA_HUB_STATUS_CODE_RECORD_H__
11
12 ///
13 /// The Global ID used to identify a structure of type DATA_HUB_STATUS_CODE_DATA_RECORD.
14 ///
15 #define EFI_DATA_HUB_STATUS_CODE_RECORD_GUID \
16 { \
17 0xd083e94c, 0x6560, 0x42e4, {0xb6, 0xd4, 0x2d, 0xf7, 0x5a, 0xdf, 0x6a, 0x2a } \
18 }
19
20 ///
21 /// The Data Hub data record that is used to store all the parameters passed into
22 /// the ReportStatusCode() service of the EFI_STATUS_CODE_PROTOCOL.
23 ///
24 typedef struct {
25 ///
26 /// Status Code type to be reported.
27 ///
28 EFI_STATUS_CODE_TYPE CodeType;
29
30 ///
31 /// An operation, plus value information about the class and subclass, used to
32 /// classify the hardware and software entity.
33 ///
34 EFI_STATUS_CODE_VALUE Value;
35
36 ///
37 /// The enumeration of a hardware or software entity within
38 /// the system. Valid instance numbers start with 1.
39 ///
40 UINT32 Instance;
41
42 ///
43 /// Identify the caller.
44 ///
45 EFI_GUID CallerId;
46
47 ///
48 /// Additional status code data.
49 ///
50 EFI_STATUS_CODE_DATA Data;
51 } DATA_HUB_STATUS_CODE_DATA_RECORD;
52
53 extern EFI_GUID gEfiDataHubStatusCodeRecordGuid;
54
55 #endif