audk/IntelFsp2Pkg/FspSecCore
Chasel Chiu 7df447930c IntelFsp2Pkg: LoadMicrocodeDefault() causing unnecessary delay.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4391

FSP should support the scenario that CPU microcode already loaded
before calling LoadMicrocodeDefault(), in this case it should return
directly without spending more time.
Also the LoadMicrocodeDefault() should only attempt to load one version
of the microcode for current CPU and return directly without parsing
rest of the microcode in FV.

This patch also removed unnecessary LoadCheck code after supporting
CPU microcode already loaded scenario.

Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Ted Kuo <ted.kuo@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
2023-04-04 17:18:20 +00:00
..
Ia32 IntelFsp2Pkg: LoadMicrocodeDefault() causing unnecessary delay. 2023-04-04 17:18:20 +00:00
Vtf0
X64 IntelFsp2Pkg: LoadMicrocodeDefault() causing unnecessary delay. 2023-04-04 17:18:20 +00:00
Fsp22SecCoreS.inf IntelFsp2Pkg: FspSecCore support for X64 2022-04-16 00:18:14 +00:00
Fsp24SecCoreM.inf IntelFsp2Pkg: Remove UefiCpuLib from module INFs. 2023-03-10 08:23:56 +00:00
Fsp24SecCoreS.inf IntelFsp2Pkg: Adopt FSP 2.4 MultiPhase functions. 2022-09-07 04:21:15 +00:00
FspSecCoreI.inf IntelFsp2Pkg/FspSecCore: Add FSP-I API for SMM support. 2022-07-20 02:15:55 +00:00
FspSecCoreM.inf IntelFsp2Pkg: Remove UefiCpuLib from module INFs. 2023-03-10 08:23:56 +00:00
FspSecCoreS.inf IntelFsp2Pkg: FspSecCore support for X64 2022-04-16 00:18:14 +00:00
FspSecCoreT.inf IntelFsp2Pkg: FspSecCore support for X64 2022-04-16 00:18:14 +00:00
SecFsp.c IntelFsp2Pkg: Adopt FSP 2.4 MultiPhase functions. 2022-09-07 04:21:15 +00:00
SecFsp.h IntelFsp2Pkg: Improvement of supporting null UPD pointer in FSP-T 2022-11-11 04:46:39 +00:00
SecFspApiChk.c IntelFsp2Pkg: FSP should support input UPD as NULL. 2022-11-04 03:04:51 +00:00
SecMain.c IntelFsp2Pkg: Update SEC_IDT_TABLE struct 2022-07-14 18:13:44 +00:00
SecMain.h IntelFsp2Pkg: Remove UefiCpuLib from module INFs. 2023-03-10 08:23:56 +00:00