diff options
author | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-27 03:47:42 +0000 |
---|---|---|
committer | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-08-27 03:47:42 +0000 |
commit | 1aa8ced11e588885a44415a6a06eab67fc293e7a (patch) | |
tree | d61b30380bcd902f423ac68e283fec3f90425ae4 | |
parent | b1b8c631f613084d43d64d0b9e1d27337d4d8b5a (diff) | |
download | edk2-1aa8ced11e588885a44415a6a06eab67fc293e7a.tar.gz edk2-1aa8ced11e588885a44415a6a06eab67fc293e7a.tar.bz2 edk2-1aa8ced11e588885a44415a6a06eab67fc293e7a.zip |
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.c | 6 |
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);
|