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
This commit is contained in:
vanjeff 2010-11-03 03:21:29 +00:00
parent 07d9dc83f4
commit 785b5f5a50
1 changed files with 5 additions and 5 deletions

View File

@ -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.
//