diff options
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r-- | MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 10 |
1 files 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 @@ -676,6 +676,11 @@ CoreExitBootServices ( EFI_STATUS Status;
//
+ // Disable Timer
+ //
+ gTimer->SetTimerPeriod (gTimer, 0);
+
+ //
// Terminate memory services if the MapKey matches
//
Status = CoreTerminateMemoryMap (MapKey);
@@ -684,11 +689,6 @@ CoreExitBootServices ( }
//
- // Disable Timer
- //
- gTimer->SetTimerPeriod (gTimer, 0);
-
- //
// Notify other drivers that we are exiting boot services.
//
CoreNotifySignalList (&gEfiEventExitBootServicesGuid);
|