Revision: 17838 http://sourceforge.net/p/edk2/code/17838 Author: hwu1225 Date: 2015-07-07 02:54:53 +0000 (Tue, 07 Jul 2015) Log Message: ----------- IntelFrameworkModulePkg: Remove gZeroGuid definition in DataHubDxe
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...@intel.com> Reviewed-by: Liming Gao <liming....@intel.com> Reviewed-by: Jaben Carsey <jaben.car...@intel.com> Modified Paths: -------------- trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.h trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf Modified: trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c =================================================================== --- trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c 2015-07-06 22:09:02 UTC (rev 17837) +++ trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c 2015-07-07 02:54:53 UTC (rev 17838) @@ -2,7 +2,7 @@ This code produces the Data Hub protocol. It preloads the data hub with status information copied in from PEI HOBs. -Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR> +Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -15,8 +15,6 @@ #include "DataHub.h" -CONST EFI_GUID gZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } }; - // // Since this driver will only ever produce one instance of the Logging Hub // protocol you are not required to dynamically allocate the PrivateData. Modified: trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.h =================================================================== --- trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.h 2015-07-06 22:09:02 UTC (rev 17837) +++ trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.h 2015-07-07 02:54:53 UTC (rev 17838) @@ -2,7 +2,7 @@ This code supports a the private implementation of the Data Hub protocol -Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> +Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -21,6 +21,8 @@ #include <Protocol/DataHub.h> +#include <Guid/ZeroGuid.h> + #include <Library/DebugLib.h> #include <Library/UefiDriverEntryPoint.h> #include <Library/UefiLib.h> Modified: trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf =================================================================== --- trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf 2015-07-06 22:09:02 UTC (rev 17837) +++ trunk/edk2/IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf 2015-07-07 02:54:53 UTC (rev 17838) @@ -21,7 +21,7 @@ # drivers to be aware of all reporting formats. # For more information, please ref http://www.intel.com/technology/framework/ # -# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR> +# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR> # # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -56,6 +56,7 @@ [Packages] IntelFrameworkPkg/IntelFrameworkPkg.dec MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec [LibraryClasses] @@ -69,6 +70,10 @@ DebugLib +[Guids] + gZeroGuid ## SOMETIMES_CONSUMES ## GUID + + [Protocols] gEfiDataHubProtocolGuid ## PRODUCES ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits