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:
@ -675,6 +675,11 @@ CoreExitBootServices (
|
|||||||
{
|
{
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
|
//
|
||||||
|
// Disable Timer
|
||||||
|
//
|
||||||
|
gTimer->SetTimerPeriod (gTimer, 0);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Terminate memory services if the MapKey matches
|
// Terminate memory services if the MapKey matches
|
||||||
//
|
//
|
||||||
@ -683,11 +688,6 @@ CoreExitBootServices (
|
|||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Disable Timer
|
|
||||||
//
|
|
||||||
gTimer->SetTimerPeriod (gTimer, 0);
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Notify other drivers that we are exiting boot services.
|
// Notify other drivers that we are exiting boot services.
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user