]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuMpPei/CpuMpPei.h
UefiCpuPkg/CpuMpPei: Add CPU_VOLATILE_REGISTERS & worker functions
authorJeff Fan <jeff.fan@intel.com>
Wed, 2 Dec 2015 00:42:40 +0000 (00:42 +0000)
committervanjeff <vanjeff@Edk2>
Wed, 2 Dec 2015 00:42:40 +0000 (00:42 +0000)
commitef1fdb809886ddfeb9e4107919b14414a2fea020
tree9d5e49e8012c616646557a5b0fd462670feb4e2d
parent24930b5609f7de283b7b8ec16c0de3d54aa211de
UefiCpuPkg/CpuMpPei: Add CPU_VOLATILE_REGISTERS & worker functions

Add CPU_VOLATILE_REGISTERS definitions for CRx and DRx required to be restored
after APs received INIT IPI.

Add worker functions SaveVolatileRegisters()/RestoreVolatileRegisters() used to
save/restore CRx and DRx. It also check if Debugging Extensions supported or
not.

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@19086 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/CpuMpPei/CpuMpPei.c
UefiCpuPkg/CpuMpPei/CpuMpPei.h