diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-07-20 23:47:59 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-08-17 20:00:19 +0800 |
commit | 68cb933071ee14d6db99d7a7e49e2796a1b1f6f6 (patch) | |
tree | 20b0b47985ff9dfb0c19634732c8da74993972e0 /BaseTools/Source/Python/GenFds/VerSection.py | |
parent | 03a1a925159f7b16bfe67f43482e9924e8dbfa41 (diff) | |
download | edk2-platforms-68cb933071ee14d6db99d7a7e49e2796a1b1f6f6.tar.xz |
UefiCpuPkg/MpInitLib: 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.
v5:
1. Add comment block for structure CPU_VOLATILE_REGISTERS.
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Michael Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/VerSection.py')
0 files changed, 0 insertions, 0 deletions