X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxe%2FDxeMain%2FDxeMain.c;h=2cf082b74f0f03f9a54b3873a14bd8382209d37f;hp=2f72670c2a3fd5f71f8da4d72741ad9d47876515;hb=213fecefbbc2fa9badd2ac371a569908390999f0;hpb=634366733dd389fe33016732b67b5d212e5c8f24 diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c index 2f72670c2a..2cf082b74f 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c +++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c @@ -244,7 +244,7 @@ DxeMain ( // // Initialize Debug Agent to support source level debug in DXE phase // - InitializeDebugAgent (DEBUG_AGENT_INIT_DXE, HobStart); + InitializeDebugAgent (DEBUG_AGENT_INIT_DXE_CORE, HobStart); // // Initialize Memory Services @@ -685,6 +685,11 @@ CoreExitBootServices ( // CoreNotifySignalList (&gEfiEventExitBootServicesGuid); + // + // Disable interrupt of Debug timer. + // + SaveAndSetDebugTimerInterrupt (FALSE); + // // Disable CPU Interrupts //