mirror of https://github.com/acidanthera/audk.git
1. update the definitions in debug agent library, rename DEBUG_AGENT_INIT_DXE to DEBUG_AGENT_INIT_DXE_CORE and add DEBUG_AGENT_INIT_S3.
2. disable debug timer interrupt in ExitBootServices(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10239 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
634366733d
commit
213fecefbb
|
@ -244,7 +244,7 @@ DxeMain (
|
||||||
//
|
//
|
||||||
// Initialize Debug Agent to support source level debug in DXE phase
|
// 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
|
// Initialize Memory Services
|
||||||
|
@ -685,6 +685,11 @@ CoreExitBootServices (
|
||||||
//
|
//
|
||||||
CoreNotifySignalList (&gEfiEventExitBootServicesGuid);
|
CoreNotifySignalList (&gEfiEventExitBootServicesGuid);
|
||||||
|
|
||||||
|
//
|
||||||
|
// Disable interrupt of Debug timer.
|
||||||
|
//
|
||||||
|
SaveAndSetDebugTimerInterrupt (FALSE);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Disable CPU Interrupts
|
// Disable CPU Interrupts
|
||||||
//
|
//
|
||||||
|
|
|
@ -17,10 +17,11 @@
|
||||||
|
|
||||||
#define DEBUG_AGENT_INIT_PREMEM_SEC 1
|
#define DEBUG_AGENT_INIT_PREMEM_SEC 1
|
||||||
#define DEBUG_AGENT_INIT_POSTMEM_SEC 2
|
#define DEBUG_AGENT_INIT_POSTMEM_SEC 2
|
||||||
#define DEBUG_AGENT_INIT_DXE 3
|
#define DEBUG_AGENT_INIT_DXE_CORE 3
|
||||||
#define DEBUG_AGENT_INIT_SMM 4
|
#define DEBUG_AGENT_INIT_SMM 4
|
||||||
#define DEBUG_AGENT_INIT_ENTER_SMI 5
|
#define DEBUG_AGENT_INIT_ENTER_SMI 5
|
||||||
#define DEBUG_AGENT_INIT_EXIT_SMI 6
|
#define DEBUG_AGENT_INIT_EXIT_SMI 6
|
||||||
|
#define DEBUG_AGENT_INIT_S3 7
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Initialize debug agent.
|
Initialize debug agent.
|
||||||
|
|
Loading…
Reference in New Issue