X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxe%2FMisc%2FMemoryAttributesTable.c;h=416ed3dca846b481014e802e62c7424b4dd251d4;hb=82f0f411c7912de105d1484fd294bde8aacb6c1e;hp=c84146a8e8edec4f1296829823e6bd47f26c2f41;hpb=97033ebfa3cb10562c434a8927e2cba9e3940ec7;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c b/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c index c84146a8e8..416ed3dca8 100644 --- a/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c +++ b/MdeModulePkg/Core/Dxe/Misc/MemoryAttributesTable.c @@ -72,8 +72,6 @@ CoreGetMemoryMapPropertiesTable ( extern EFI_PROPERTIES_TABLE mPropertiesTable; -BOOLEAN mIsConstructingMemoryAttributesTable = FALSE; - /** Install MemoryAttributesTable. @@ -105,8 +103,6 @@ InstallMemoryAttributesTable ( return ; } - mIsConstructingMemoryAttributesTable = TRUE; - MemoryMapSize = 0; MemoryMap = NULL; Status = CoreGetMemoryMapPropertiesTable ( @@ -181,8 +177,6 @@ InstallMemoryAttributesTable ( Status = gBS->InstallConfigurationTable (&gEfiMemoryAttributesTableGuid, MemoryAttributesTable); ASSERT_EFI_ERROR (Status); - - mIsConstructingMemoryAttributesTable = FALSE; } /**