mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Remove mZeroGuid definition in Universal/Variable/RuntimeDxe
MdeModulePkg has defined gZeroGuid in 'Guid/ZeroGuid.h', therefore, the mZeroGuid defined in Universal/Variable/RuntimeDxe 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@17840 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
32eabfd593
commit
c64816c652
|
@ -35,13 +35,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#include <Library/SmmMemLib.h>
|
||||
|
||||
#include <Guid/SmmVariableCommon.h>
|
||||
#include <Guid/ZeroGuid.h>
|
||||
#include "Variable.h"
|
||||
|
||||
extern VARIABLE_INFO_ENTRY *gVariableInfo;
|
||||
EFI_HANDLE mSmmVariableHandle = NULL;
|
||||
EFI_HANDLE mVariableHandle = NULL;
|
||||
BOOLEAN mAtRuntime = FALSE;
|
||||
EFI_GUID mZeroGuid = {0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0}};
|
||||
UINT8 *mVariableBufferPayload = NULL;
|
||||
UINTN mVariableBufferPayloadSize;
|
||||
extern BOOLEAN mEndOfDxe;
|
||||
|
@ -373,7 +373,7 @@ SmmVariableGetStatistics (
|
|||
|
||||
CopyGuid (&VendorGuid, &InfoEntry->VendorGuid);
|
||||
|
||||
if (CompareGuid (&VendorGuid, &mZeroGuid)) {
|
||||
if (CompareGuid (&VendorGuid, &gZeroGuid)) {
|
||||
//
|
||||
// Return the first variable info
|
||||
//
|
||||
|
|
|
@ -120,6 +120,7 @@
|
|||
gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"HwErrRec####"
|
||||
gEdkiiFaultTolerantWriteGuid ## SOMETIMES_CONSUMES ## HOB
|
||||
gEdkiiVarErrorFlagGuid ## CONSUMES ## GUID
|
||||
gZeroGuid ## SOMETIMES_CONSUMES ## GUID
|
||||
|
||||
[Pcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES
|
||||
|
|
Loading…
Reference in New Issue