--- /dev/null
+/*++\r
+\r
+Copyright (c) 2006, Intel Corporation \r
+All rights reserved. This program and the accompanying materials \r
+are licensed and made available under the terms and conditions of the BSD License \r
+which accompanies this distribution. The full text of the license may be found at \r
+http://opensource.org/licenses/bsd-license.php \r
+ \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+\r
+Module Name:\r
+\r
+ StatusCode.h\r
+ \r
+Abstract:\r
+\r
+ GUID used to identify Data Hub records that originate from the Tiano \r
+ ReportStatusCode API.\r
+\r
+--*/\r
+\r
+#ifndef __STATUS_CODE_H__\r
+#define __STATUS_CODE_H__\r
+\r
+#define EFI_DATA_HUB_STATUS_CODE_RECORD_GUID \\r
+ { \\r
+ 0xd083e94c, 0x6560, 0x42e4, {0xb6, 0xd4, 0x2d, 0xf7, 0x5a, 0xdf, 0x6a, 0x2a } \\r
+ }\r
+\r
+extern EFI_GUID gEfiDataHubStatusCodeRecordGuid;\r
+\r
+#endif\r
+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
-\r
- StatusCode.h\r
- \r
-Abstract:\r
-\r
- GUID used to identify Data Hub records that originate from the Tiano \r
- ReportStatusCode API.\r
-\r
---*/\r
-\r
-#ifndef __STATUS_CODE_H__\r
-#define __STATUS_CODE_H__\r
-\r
-#define EFI_STATUS_CODE_GUID \\r
- { \\r
- 0xd083e94c, 0x6560, 0x42e4, {0xb6, 0xd4, 0x2d, 0xf7, 0x5a, 0xdf, 0x6a, 0x2a } \\r
- }\r
-\r
-extern EFI_GUID gEfiStatusCodeGuid;\r
-\r
-#endif\r
################################################################################\r
[Guids.common]\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid = { 0xD3705011, 0xBC19, 0x4af7, { 0xBE, 0x16, 0xF6, 0x80, 0x30, 0x37, 0x8C, 0x15 }}\r
- gEfiPciHotplugDeviceGuid = { 0x0B280816, 0x52E7, 0x4E51, { 0xAA, 0x57, 0x11, 0xBD, 0x41, 0xCB, 0xEF, 0xC3 }}\r
- gEfiPciOptionRomTableGuid = { 0x7462660F, 0x1CBD, 0x48DA, { 0xAD, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1C }}\r
- gEfiStatusCodeGuid = { 0xD083E94C, 0x6560, 0x42E4, { 0xB6, 0xD4, 0x2D, 0xF7, 0x5A, 0xDF, 0x6A, 0x2A }}\r
- gMemoryStatusCodeRecordGuid = { 0x060CC026, 0x4C0D, 0x4DDA, { 0x8F, 0x41, 0x59, 0x5F, 0xEF, 0x00, 0xA5, 0x02 }}\r
+ gEfiPciHotplugDeviceGuid = { 0x0B280816, 0x52E7, 0x4E51, { 0xAA, 0x57, 0x11, 0xBD, 0x41, 0xCB, 0xEF, 0xC3 }}\r
+ gEfiPciOptionRomTableGuid = { 0x7462660F, 0x1CBD, 0x48DA, { 0xAD, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1C }}\r
+ gEfiDataHubStatusCodeRecordGuid = { 0xD083E94C, 0x6560, 0x42E4, { 0xB6, 0xD4, 0x2D, 0xF7, 0x5A, 0xDF, 0x6A, 0x2A }}\r
+ gMemoryStatusCodeRecordGuid = { 0x060CC026, 0x4C0D, 0x4DDA, { 0x8F, 0x41, 0x59, 0x5F, 0xEF, 0x00, 0xA5, 0x02 }}\r
\r
\r
################################################################################\r
//\r
// The protocols, PPI and GUID defintions for this module\r
//\r
-#include <Guid/StatusCode.h>\r
+#include <Guid/DataHubStatusCodeRecord.h>\r
#include <Guid/StatusCodeDataTypeId.h>\r
#include <Protocol/DataHub.h>\r
#include <Protocol/SimpleTextOut.h>\r
do {\r
Status = DataHub->GetNextRecord (DataHub, &Mtc, &mDataHubStdErrEvent, &Record);\r
if (!EFI_ERROR (Status)) {\r
- if (CompareGuid (&Record->DataRecordGuid, &gEfiStatusCodeGuid)) {\r
+ if (CompareGuid (&Record->DataRecordGuid, &gEfiDataHubStatusCodeRecordGuid)) {\r
DataRecord = (DATA_HUB_STATUS_CODE_DATA_RECORD *) (((CHAR8 *) Record) + Record->HeaderSize);\r
\r
if (DataRecord->Data.HeaderSize > 0) {\r
\r
[Guids]\r
gEfiStatusCodeDataTypeDebugGuid # SOMETIMES_CONSUMED\r
- gEfiStatusCodeGuid # SOMETIMES_CONSUMED\r
+ gEfiDataHubStatusCodeRecordGuid # SOMETIMES_CONSUMED\r
\r
\r
################################################################################\r
\r
mDataHubProtocol->LogData (\r
mDataHubProtocol,\r
- &gEfiStatusCodeGuid,\r
+ &gEfiDataHubStatusCodeRecordGuid,\r
&gEfiStatusCodeRuntimeProtocolGuid,\r
DataRecordClass,\r
Record,\r
//\r
// The protocols, PPI and GUID defintions for this module\r
//\r
-#include <Guid/StatusCode.h>\r
+#include <Guid/DataHubStatusCodeRecord.h>\r
#include <Protocol/DataHub.h>\r
#include <Protocol/SerialIo.h>\r
#include <Guid/MemoryStatusCodeRecord.h>\r
################################################################################\r
\r
[Guids]\r
- gEfiStatusCodeGuid # SOMETIMES_CONSUMED\r
+ gEfiDataHubStatusCodeRecordGuid # SOMETIMES_CONSUMED\r
gMemoryStatusCodeRecordGuid # SOMETIMES_CONSUMED\r
gEfiStatusCodeSpecificDataGuid # SOMETIMES_CONSUMED\r
gEfiStatusCodeDataTypeDebugGuid # PROTOCOL ALWAYS_CONSUMED\r