]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
1. update the definitions in debug agent library, rename DEBUG_AGENT_INIT_DXE to...
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / DxeMain / DxeMain.c
index 2f72670c2a3fd5f71f8da4d72741ad9d47876515..2cf082b74f0f03f9a54b3873a14bd8382209d37f 100644 (file)
@@ -244,7 +244,7 @@ DxeMain (
   //\r
   // Initialize Debug Agent to support source level debug in DXE phase\r
   //\r
-  InitializeDebugAgent (DEBUG_AGENT_INIT_DXE, HobStart);\r
+  InitializeDebugAgent (DEBUG_AGENT_INIT_DXE_CORE, HobStart);\r
 \r
   //\r
   // Initialize Memory Services\r
@@ -685,6 +685,11 @@ CoreExitBootServices (
   //\r
   CoreNotifySignalList (&gEfiEventExitBootServicesGuid);\r
 \r
+  //\r
+  // Disable interrupt of Debug timer.\r
+  //\r
+  SaveAndSetDebugTimerInterrupt (FALSE);\r
+\r
   //\r
   // Disable CPU Interrupts\r
   //\r