/**\r
Checks APs' status periodically.\r
\r
- This function is triggerred by timer perodically to check the\r
+ This function is triggered by timer periodically to check the\r
state of APs for StartupAllAPs() and StartupThisAP() executed\r
in non-blocking mode.\r
\r
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