MdeModulePkg has defined gZeroGuid in 'Guid/ZeroGuid.h', therefore, the
gZeroGuid defined in DataHubDxe is redundant.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17838
6f19259b-4bc3-4df7-8a09-
765794883524
This code produces the Data Hub protocol. It preloads the data hub\r
with status information copied in from PEI HOBs.\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 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 "DataHub.h"\r
\r
-CONST EFI_GUID gZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };\r
-\r
//\r
// Since this driver will only ever produce one instance of the Logging Hub\r
// protocol you are not required to dynamically allocate the PrivateData.\r
This code supports a the private implementation \r
of the Data Hub protocol\r
\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 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 <Protocol/DataHub.h>\r
\r
+#include <Guid/ZeroGuid.h>\r
+\r
#include <Library/DebugLib.h>\r
#include <Library/UefiDriverEntryPoint.h>\r
#include <Library/UefiLib.h>\r
# drivers to be aware of all reporting formats.\r
# For more information, please ref http://www.intel.com/technology/framework/\r
# \r
-# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 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
[Packages]\r
IntelFrameworkPkg/IntelFrameworkPkg.dec\r
MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
\r
\r
[LibraryClasses]\r
DebugLib\r
\r
\r
+[Guids]\r
+ gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
+\r
+\r
[Protocols]\r
gEfiDataHubProtocolGuid ## PRODUCES\r
\r