audk/IntelFsp2Pkg/FspSecCore/X64
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
..
Fsp22ApiEntryS.nasm IntelFsp2Pkg/FspSecCore: Add FSP-I API for SMM support. 2022-07-20 02:15:55 +00:00
Fsp24ApiEntryM.nasm IntelFsp2Pkg: NvsBufferPtr is missing in Fsp24ApiEntryM.nasm 2022-09-15 16:59:57 +00:00
Fsp24ApiEntryS.nasm IntelFsp2Pkg: Adopt FSP 2.4 MultiPhase functions. 2022-09-07 04:21:15 +00:00
FspApiEntryCommon.nasm IntelFsp2Pkg: Adopt FSP 2.4 MultiPhase functions. 2022-09-07 04:21:15 +00:00
FspApiEntryI.nasm IntelFsp2Pkg: Fix FspSecCoreI build failure. 2022-09-15 17:28:34 +00:00
FspApiEntryM.nasm IntelFsp2Pkg: FSPM_ARCH2_UPD mismatching bug. 2022-08-15 08:03:06 +00:00
FspApiEntryS.nasm IntelFsp2Pkg/FspSecCore: Add FSP-I API for SMM support. 2022-07-20 02:15:55 +00:00
FspApiEntryT.nasm IntelFsp2Pkg: LoadMicrocodeDefault() causing unnecessary delay. 2023-04-04 17:18:20 +00:00
FspHelper.nasm IntelFsp2Pkg: Fix NASM X64 build warnings. 2023-03-24 23:49:07 +00:00
MicrocodeLoadNasm.inc IntelFsp2Pkg: FspSecCore support for X64 2022-04-16 00:18:14 +00:00
ReadRsp.nasm IntelFsp2Pkg: FspSecCore support for X64 2022-04-16 00:18:14 +00:00
Stack.nasm IntelFsp2Pkg: FspSecCore support for X64 2022-04-16 00:18:14 +00:00