]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Program virtual wire mode and disable LINT0 and LINT1 in ApProcWrapper() of MpService...
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 27 Aug 2010 03:47:42 +0000 (03:47 +0000)
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 27 Aug 2010 03:47:42 +0000 (03:47 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10828 6f19259b-4bc3-4df7-8a09-765794883524

EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/MpServicesOnFrameworkMpServicesThunk.c

index a2b3e1ab5f608c62495b8077244388e2f3e94dd1..eb281d6e768995ce70b2e8c6c365d25e5065d07e 100644 (file)
@@ -1137,6 +1137,12 @@ ApProcWrapper (
   UINTN                 ProcessorNumber;\r
   CPU_DATA_BLOCK        *CpuData;\r
 \r
+  //\r
+  // Program virtual wire mode for AP, since it will be lost after AP wake up\r
+  //\r
+  ProgramVirtualWireMode ();\r
+  DisableLvtInterrupts ();\r
+\r
   //\r
   // Initialize Debug Agent to support source level debug on AP code.\r
   //\r