audk/UefiCpuPkg/Library
Jian J Wang e9415e4846 UefiCpuPkg/MpLib: Add GDTR, IDTR and TR in saved AP data
In current implementation of CPU MP service, AP is initialized with data
copied from BSP. Stack switch required by Stack Guard feature needs different
GDT, IDT table and task gates for each logic processor. This patch adds GDTR,
IDTR and TR into structure CPU_VOLATILE_REGISTERS and related code in save
and restore methods. This can make sure that any changes to GDT, IDT and task
gate for an AP will be kept from overwritten by BSP settings.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Suggested-by: Ayellet Wolman <ayellet.wolman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Jeff Fan <vanjeff_919@hotmail.com>
Reviewed-by: Jiewen.yao@intel.com
2017-12-08 14:38:50 +08:00
..
BaseUefiCpuLib UefiCpuPkg/BaseUefiCpuLib.inf: Remove unnecessary library class. 2017-08-16 16:16:18 +08:00
BaseXApicLib UefiCpuPkg: ApicLib 2017-09-05 13:03:22 +08:00
BaseXApicX2ApicLib UefiCpuPkg: ApicLib 2017-09-05 13:03:22 +08:00
CpuCommonFeaturesLib UefiCpuPkg/CpuCommonFeaturesLib: Add check for input parameter. 2017-09-27 11:15:29 +08:00
CpuExceptionHandlerLib UefiCpuPkg/CpuExceptionHandlerLib: Add stack switch support 2017-12-08 14:38:48 +08:00
MpInitLib UefiCpuPkg/MpLib: Add GDTR, IDTR and TR in saved AP data 2017-12-08 14:38:50 +08:00
MtrrLib UefiCpuPkg/MtrrLib: Make comments align with function 2017-10-24 09:14:17 +08:00
PlatformSecLibNull
RegisterCpuFeaturesLib UefiCpuPkg RegisterCpuFeaturesLib: Fix buffer pointer error usage. 2017-08-17 09:17:22 +08:00
SecPeiDxeTimerLibUefiCpu
SmmCpuFeaturesLib UefiCpuPkg: SmmCpuFeaturesLib Add the missing ASM_PFX in nasm code 2017-12-08 13:29:47 +08:00
SmmCpuPlatformHookLibNull