# is added via EFI_DATA_HUB_PROTOCOL->LogData(), this filter will be invoked to \r
# translate the datahub's record to SMBIOS record.\r
#\r
-# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
gEfiMemorySubClassGuid ## CONSUMES\r
gEfiMiscSubClassGuid ## CONSUMES\r
gEfiCacheSubClassGuid ## CONSUMES\r
+ gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
\r
[FeaturePcd]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport\r
/** @file\r
The common header file for the thunk driver.\r
\r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
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
\r
#include <Guid/EventGroup.h>\r
#include <Guid/SmBios.h>\r
+#include <Guid/ZeroGuid.h>\r
#include <Protocol/DataHub.h>\r
#include <Guid/DataHubRecords.h>\r
#include <Protocol/HiiDatabase.h>\r
Translate the DataHub records via EFI_DATA_HUB_PROTOCOL to Smbios recorders \r
via EFI_SMBIOS_PROTOCOL.\r
\r
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
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
\r
#include "Thunk.h"\r
\r
-EFI_GUID ZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };\r
EFI_SMBIOS_PROTOCOL *mSmbiosProtocol = NULL;\r
\r
/**\r
// Find a matching entry in the conversion table for this\r
// (SubClass, RecordNumber) pair\r
//\r
- for (; !CompareGuid (&(mConversionTable[Index].SubClass), &ZeroGuid); Index++) {\r
+ for (; !CompareGuid (&(mConversionTable[Index].SubClass), &gZeroGuid); Index++) {\r
if (CompareGuid (\r
&(mConversionTable[Index].SubClass),\r
&(RecordHeader->DataRecordGuid)\r
}\r
}\r
\r
- if (CompareGuid (&(mConversionTable[Index].SubClass), &ZeroGuid)) {\r
+ if (CompareGuid (&(mConversionTable[Index].SubClass), &gZeroGuid)) {\r
//\r
// We cannot find a matching entry in conversion table,\r
// this means this data record cannot be used for SMBIOS.\r