Re: [edk2-devel] [PATCH] UefiPayloadPkg/UefiPayloadEntry: Remove 4GB memory WA

2021-02-22 Thread fanjianf...@byosoft.com.cn
we will save the current BSP's GDT and IDT for APs at first time APs are waken by BSP as below. APs will start from real mode to protected mode and then to long mode. During protected mode, BSP's GDT/IDT table are working on APs. In UefiCpuPkg\Library\MpInitLib\MpLib.c, // // Get the BSP's

Re: [edk2-devel] MP Services Protocol : Support Hyper threading or not

2021-02-22 Thread fanjianf...@byosoft.com.cn
" Will EFI_MP_SERVICES_PROTOCOL.StartupAllAPs() make all 8 logical cores do some tasks simultaneously?" All APs logical processors excute AP task, not including BSP. Acutally the answer is 7. Jeff From: Laszlo Ersek Date: 2021-02-22 18:39 To: devel; tigerliu Subject: Re: [edk2-devel] MP Servi