]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/MpInitLib/PeiMpLib.c
UefiCpuPkg/MpInitLib: save/restore original contents
authorJeff Fan <jeff.fan@intel.com>
Wed, 19 Apr 2017 03:16:55 +0000 (11:16 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 26 Apr 2017 00:55:43 +0000 (08:55 +0800)
commit9293d6e42e677e4a38e055258c0993ad8a9df14e
treee7e94e0a991d0f7e4eabb15365c0f8636e78f59b
parentd7dd4f0a0678c458005ea40acba70984c58bcb20
UefiCpuPkg/MpInitLib: save/restore original contents

If APs is in HLT-LOOP mode, we need AP reset vector for waking up APs. This
updating is to save/restore original contents of AP reset vector around waking
up APs always.

https://bugzilla.tianocore.org/show_bug.cgi?id=500

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>
UefiCpuPkg/Library/MpInitLib/PeiMpLib.c