X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxe%2FDxeMain%2FDxeMain.c;h=70a283bc2ba23904c6fdea69ee2209f23f15efb4;hp=a458d6b64fee8415c33799d3d545e3e58e73b8c4;hb=74a88770337121b046ec5f055d4ae06abc37fa60;hpb=925f0d1ae144a0b57b70fe89a26d47660cf488c7 diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c index a458d6b64f..70a283bc2b 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c +++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c @@ -207,6 +207,7 @@ EFI_SYSTEM_TABLE *gDxeCoreST = NULL; EFI_RUNTIME_SERVICES *gDxeCoreRT = &mEfiRuntimeServicesTableTemplate; EFI_HANDLE gDxeCoreImageHandle = NULL; +BOOLEAN gMemoryMapTerminated = FALSE; // // EFI Decompress Protocol @@ -751,6 +752,8 @@ CoreExitBootServices ( return Status; } + gMemoryMapTerminated = TRUE; + // // Notify other drivers that we are exiting boot services. //