summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-08-27 03:47:42 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2010-08-27 03:47:42 +0000
commit1aa8ced11e588885a44415a6a06eab67fc293e7a (patch)
treed61b30380bcd902f423ac68e283fec3f90425ae4
parentb1b8c631f613084d43d64d0b9e1d27337d4d8b5a (diff)
downloadedk2-platforms-1aa8ced11e588885a44415a6a06eab67fc293e7a.tar.xz
Program virtual wire mode and disable LINT0 and LINT1 in ApProcWrapper() of MpServicesOnFrameworkMpServicesThunk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10828 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c
index a2b3e1ab5f..eb281d6e76 100644
--- a/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c
+++ b/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c
@@ -1138,6 +1138,12 @@ ApProcWrapper (
CPU_DATA_BLOCK *CpuData;
//
+ // Program virtual wire mode for AP, since it will be lost after AP wake up
+ //
+ ProgramVirtualWireMode ();
+ DisableLvtInterrupts ();
+
+ //
// Initialize Debug Agent to support source level debug on AP code.
//
InitializeDebugAgent (DEBUG_AGENT_INIT_DXE_AP, NULL, NULL);