\r
#include "CpuMpPei.h"\r
\r
-//\r
-// The MP data for switch BSP\r
-//\r
-#define CPU_SWITCH_STATE_IDLE 0\r
-#define CPU_SWITCH_STATE_STORED 1\r
-#define CPU_SWITCH_STATE_LOADED 2\r
-\r
-#define CPU_CHECK_AP_INTERVAL 0x100 // 100 microseconds\r
-\r
-/**\r
- This function is called by both the BSP and the AP which is to become the BSP to\r
- Exchange execution context including stack between them. After return from this\r
- function, the BSP becomes AP and the AP becomes the BSP.\r
-\r
- @param MyInfo Pointer to buffer holding the exchanging information for the executing processor.\r
- @param OthersInfo Pointer to buffer holding the exchanging information for the peer.\r
-**/\r
-VOID\r
-EFIAPI\r
-AsmExchangeRole (\r
- IN CPU_EXCHANGE_ROLE_INFO *MyInfo,\r
- IN CPU_EXCHANGE_ROLE_INFO *OthersInfo\r
- );\r
\r
/**\r
This service retrieves the number of logical processor in the platform\r