mirror of https://github.com/acidanthera/audk.git
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.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 commit is contained in:
parent
f7b0d3f2b5
commit
6692e0a89e
|
@ -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 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
#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.
|
||||
|
|
|
@ -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 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
#include <Protocol/DataHub.h>
|
||||
|
||||
#include <Guid/ZeroGuid.h>
|
||||
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/UefiDriverEntryPoint.h>
|
||||
#include <Library/UefiLib.h>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue