]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuMpPei/CpuMpPei.c
UefiCpuPkg/CpuMpPei: Save/Restore CRx/DRx register for APs waking up
authorJeff Fan <jeff.fan@intel.com>
Wed, 2 Dec 2015 00:43:45 +0000 (00:43 +0000)
committervanjeff <vanjeff@Edk2>
Wed, 2 Dec 2015 00:43:45 +0000 (00:43 +0000)
commitf40a7de45070dfa193e47ed0031cc07c275287b3
tree2f4a86e96ca82d35446be91b658e8677ad023242
parent22cfe73a12ce0dc272d790999dcb5c3d94bc1fc6
UefiCpuPkg/CpuMpPei: Save/Restore CRx/DRx register for APs waking up

PeiStartupAllAPs()/PeiStartupThisAP() will send INIT-SIPI-SIPI to wakeup APs to
execute AP function. However, some registers will be reset after APs received
INIT IPI. We need to restore some registers (For example, CRx/DRx) manually
after APs wakeup.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@Intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19089 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/CpuMpPei/CpuMpPei.c