diff options
author | Jeff Fan <jeff.fan@intel.com> | 2015-07-10 05:48:19 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-07-10 05:48:19 +0000 |
commit | 2638c111076f9a49d4766ca5acbafa0eb7f66a18 (patch) | |
tree | 3b145d7f5f67a4aa4d2e80a43343d72ded48bd69 /BaseTools/Source/Python/UPT/UnitTest | |
parent | db42930da9c6e32875b4aec1fff3866be0c0ae96 (diff) | |
download | edk2-platforms-2638c111076f9a49d4766ca5acbafa0eb7f66a18.tar.xz |
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
Diffstat (limited to 'BaseTools/Source/Python/UPT/UnitTest')
0 files changed, 0 insertions, 0 deletions