mirror of https://github.com/acidanthera/audk.git
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:
parent
07d9dc83f4
commit
785b5f5a50
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue