UefiCpuPkg/CpuMpPei: Do not load new GDT table
Do not load the new GDT table and just to use the exiting BSP's GDT table set up by SEC phase. 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>
This commit is contained in:
@@ -464,7 +464,7 @@ WakeUpAP (
|
|||||||
//
|
//
|
||||||
// Get the BSP's data of GDT and IDT
|
// Get the BSP's data of GDT and IDT
|
||||||
//
|
//
|
||||||
CopyMem ((VOID *)&ExchangeInfo->GdtrProfile, &mGdt, sizeof(mGdt));
|
AsmReadGdtr ((IA32_DESCRIPTOR *) &ExchangeInfo->GdtrProfile);
|
||||||
AsmReadIdtr ((IA32_DESCRIPTOR *) &ExchangeInfo->IdtrProfile);
|
AsmReadIdtr ((IA32_DESCRIPTOR *) &ExchangeInfo->IdtrProfile);
|
||||||
|
|
||||||
if (PeiCpuMpData->ApLoopMode == ApInMwaitLoop) {
|
if (PeiCpuMpData->ApLoopMode == ApInMwaitLoop) {
|
||||||
@@ -859,10 +859,6 @@ CpuMpPeimInit (
|
|||||||
EFI_VECTOR_HANDOFF_INFO *VectorInfo;
|
EFI_VECTOR_HANDOFF_INFO *VectorInfo;
|
||||||
EFI_PEI_VECTOR_HANDOFF_INFO_PPI *VectorHandoffInfoPpi;
|
EFI_PEI_VECTOR_HANDOFF_INFO_PPI *VectorHandoffInfoPpi;
|
||||||
|
|
||||||
//
|
|
||||||
// Load new GDT table on BSP
|
|
||||||
//
|
|
||||||
AsmInitializeGdt (&mGdt);
|
|
||||||
//
|
//
|
||||||
// Get Vector Hand-off Info PPI
|
// Get Vector Hand-off Info PPI
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user