audk/SourceLevelDebugPkg/Library/DebugAgent
Jeff Fan 2638c11107 SourceLevelDebugPkg/SecPeiDebugAgentLib: Restore CPU interrupt state
In DEBUG_AGENT_INIT_POSTMEM_SEC case, caller may disable/restore CPU interrupt
to protect the stack/heap migration. SecPeiDebugAgentLib cannot always enable
CPU interrupt. Otherwise system may crash during stack/heap migration.
SecPeiDebugAgentLib should restore original CPU interrupt state in
DEBUG_AGENT_INIT_POSTMEM_SEC case.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Brian J. Johnson <bjohnson@sgi.com>
Tested-by: Brian J. Johnson <bjohnson@sgi.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17916 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-10 05:48:19 +00:00
..
DebugAgentCommon SourceLevelDebugPkg/DebugAgent: Disable Debug Timer as early 2015-06-08 06:36:41 +00:00
DxeDebugAgent SourceLevelDebugPkg/DebugAgent: Add typecast to fix sign extension 2015-06-26 03:06:50 +00:00
SecPeiDebugAgent SourceLevelDebugPkg/SecPeiDebugAgentLib: Restore CPU interrupt state 2015-07-10 05:48:19 +00:00
SmmDebugAgent SourceLevelDebugPkg/DebugAgent: Add typecast to fix sign extension 2015-06-26 03:06:50 +00:00
DxeDebugAgentLib.inf SourceLevelDebugPkg/DebugAgent: Support IA32 processors without DE or FXSAVE/FXRESTOR 2015-04-27 19:53:36 +00:00
DxeDebugAgentLib.uni SourceLevelDebugPkg: Convert non DOS format files to DOS format 2014-09-03 08:49:15 +00:00
SecPeiDebugAgentLib.inf SourceLevelDebugPkg/DebugAgent: Support IA32 processors without DE or FXSAVE/FXRESTOR 2015-04-27 19:53:36 +00:00
SecPeiDebugAgentLib.uni SourceLevelDebugPkg: Convert non DOS format files to DOS format 2014-09-03 08:49:15 +00:00
SmmDebugAgentLib.inf SourceLevelDebugPkg/DebugAgent: Support IA32 processors without DE or FXSAVE/FXRESTOR 2015-04-27 19:53:36 +00:00
SmmDebugAgentLib.uni SourceLevelDebugPkg: Convert non DOS format files to DOS format 2014-09-03 08:49:15 +00:00