]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuDxe/CpuDxe.c
UefiCpuPkg: Move ProgramVirtualWireMode() to MpInitLib
authorJeff Fan <jeff.fan@intel.com>
Fri, 21 Apr 2017 03:21:00 +0000 (11:21 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 26 Apr 2017 00:55:45 +0000 (08:55 +0800)
commit9d64a9fd9ee05f0b0228fc1f8b66398dac85e2c9
tree010d4fa64f3678400cd2d3d34a9fee0398824b46
parentc934a0a5816e38ca5dbdb25936c4f841958a008e
UefiCpuPkg: Move ProgramVirtualWireMode() to MpInitLib

In PEI phase, BSP did not program vitural wired mode while APs did.

Move program virtual wired mode from CpuDxe to MpInitLib, thus it could benefit
on both CpuDxe and CpuMpPei.

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

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