From 785b5f5a50d0f03cae1456d9af77ff66f718d536 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Wed, 3 Nov 2010 03:21:29 +0000 Subject: [PATCH] swaps the order of timer disable and memory map termination to make sure memory map unchanged. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10999 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c index 3dfabd87e5..3d3c3ef6ff 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c +++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c @@ -675,6 +675,11 @@ CoreExitBootServices ( { EFI_STATUS Status; + // + // Disable Timer + // + gTimer->SetTimerPeriod (gTimer, 0); + // // Terminate memory services if the MapKey matches // @@ -683,11 +688,6 @@ CoreExitBootServices ( return Status; } - // - // Disable Timer - // - gTimer->SetTimerPeriod (gTimer, 0); - // // Notify other drivers that we are exiting boot services. // -- 2.39.2