]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuMpPei/X64: Use CodeSegment and DataSegment fields
authorJeff Fan <jeff.fan@intel.com>
Mon, 11 Jul 2016 11:40:05 +0000 (19:40 +0800)
committerJeff Fan <jeff.fan@intel.com>
Thu, 14 Jul 2016 01:43:36 +0000 (09:43 +0800)
commitd1471c011277829cf04a3078fa1931c104c22afa
tree5585068860c16a96365f111c1acf881d98c76456
parent249ed12ea0c4bb0a9eefee6f48cecc330ff6af6a
UefiCpuPkg/CpuMpPei/X64: Use CodeSegment and DataSegment fields

Using CodeSegment and DataSegment fields in ExchangeInfo instead of the hardcode
MACROs for x64 arch. Switch AP from real mode to long mode directly, so needn't
the CS/DS of protected mode.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Giri Mudusuru <giri.p.mudusuru@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
UefiCpuPkg/CpuMpPei/X64/MpFuncs.asm
UefiCpuPkg/CpuMpPei/X64/MpFuncs.nasm