2009-01-19 08:00:28 +01:00
|
|
|
/** @file
|
2009-07-04 00:40:21 +02:00
|
|
|
GUID used to identify Data Hub records logged by Status Code Protocol.
|
2007-07-23 09:06:23 +02:00
|
|
|
|
2010-04-23 18:28:26 +02:00
|
|
|
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
2010-03-17 00:34:53 +01:00
|
|
|
This program and the accompanying materials are licensed and made available under
|
|
|
|
the terms and conditions of the BSD License that accompanies this distribution.
|
|
|
|
The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php.
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2007-06-26 10:14:44 +02:00
|
|
|
|
2007-07-23 09:06:23 +02:00
|
|
|
**/
|
2007-06-26 10:14:44 +02:00
|
|
|
|
2009-06-12 11:02:15 +02:00
|
|
|
#ifndef __DATA_HUB_STATUS_CODE_RECORD_H__
|
|
|
|
#define __DATA_HUB_STATUS_CODE_RECORD_H__
|
2007-06-26 10:14:44 +02:00
|
|
|
|
2009-07-04 00:40:21 +02:00
|
|
|
///
|
2010-03-17 00:34:53 +01:00
|
|
|
/// The Global ID used to identify a structure of type DATA_HUB_STATUS_CODE_DATA_RECORD.
|
2009-07-04 00:40:21 +02:00
|
|
|
///
|
2007-07-19 04:23:08 +02:00
|
|
|
#define EFI_DATA_HUB_STATUS_CODE_RECORD_GUID \
|
2007-06-26 10:14:44 +02:00
|
|
|
{ \
|
|
|
|
0xd083e94c, 0x6560, 0x42e4, {0xb6, 0xd4, 0x2d, 0xf7, 0x5a, 0xdf, 0x6a, 0x2a } \
|
|
|
|
}
|
|
|
|
|
2009-07-04 00:40:21 +02:00
|
|
|
///
|
2010-03-17 00:34:53 +01:00
|
|
|
/// The Data Hub data record that is used to store all the parameters passed into
|
2009-07-04 00:40:21 +02:00
|
|
|
/// the ReportStatusCode() service of the EFI_STATUS_CODE_PROTOCOL.
|
|
|
|
///
|
2007-08-09 04:54:21 +02:00
|
|
|
typedef struct {
|
2009-06-12 11:02:15 +02:00
|
|
|
///
|
|
|
|
/// Status Code type to be reported.
|
|
|
|
///
|
2009-07-04 00:40:21 +02:00
|
|
|
EFI_STATUS_CODE_TYPE CodeType;
|
2009-06-12 11:02:15 +02:00
|
|
|
|
|
|
|
///
|
2009-07-09 14:37:01 +02:00
|
|
|
/// An operation, plus value information about the class and subclass, used to
|
|
|
|
/// classify the hardware and software entity.
|
2009-06-12 11:02:15 +02:00
|
|
|
///
|
2009-07-04 00:40:21 +02:00
|
|
|
EFI_STATUS_CODE_VALUE Value;
|
2009-06-12 11:02:15 +02:00
|
|
|
|
|
|
|
///
|
|
|
|
/// The enumeration of a hardware or software entity within
|
2010-03-17 00:34:53 +01:00
|
|
|
/// the system. Valid instance numbers start with 1.
|
2009-06-12 11:02:15 +02:00
|
|
|
///
|
2009-07-04 00:40:21 +02:00
|
|
|
UINT32 Instance;
|
2009-06-12 11:02:15 +02:00
|
|
|
|
|
|
|
///
|
|
|
|
/// Identify the caller.
|
|
|
|
///
|
2009-07-04 00:40:21 +02:00
|
|
|
EFI_GUID CallerId;
|
2009-06-12 11:02:15 +02:00
|
|
|
|
|
|
|
///
|
2010-03-17 00:34:53 +01:00
|
|
|
/// Additional status code data.
|
2009-06-12 11:02:15 +02:00
|
|
|
///
|
2009-07-04 00:40:21 +02:00
|
|
|
EFI_STATUS_CODE_DATA Data;
|
2007-08-09 04:54:21 +02:00
|
|
|
} DATA_HUB_STATUS_CODE_DATA_RECORD;
|
|
|
|
|
2007-07-19 04:23:08 +02:00
|
|
|
extern EFI_GUID gEfiDataHubStatusCodeRecordGuid;
|
2007-06-26 10:14:44 +02:00
|
|
|
|
2009-06-12 11:02:15 +02:00
|
|
|
#endif
|