audk/UefiCpuPkg/Library
Chen A Chen b6f67b4d58 UefiCpuPkg/Microcode: Fix incorrect checksum issue for extended table
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1020

The following Microcode payload format is define in SDM spec.
Payload: |MicrocodeHeader|MicrocodeBinary|ExtendedHeader|ExtendedTable|.
When we verify the CheckSum32 with ExtendedTable, we should use the fields
of ExtendedTable to replace corresponding fields in MicrocodeHeader,
and then calculate the CheckSum32 with MicrocodeHeader+MicrocodeBinary.
This patch already verified on ICL platform.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Zhang Chao B <chao.b.zhang@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2019-02-21 16:16:56 +08:00
..
BaseUefiCpuLib UefiCpuPkg: Clean up source files 2018-06-28 11:19:53 +08:00
BaseXApicLib UefiCpuPkg: Clean up source files 2018-06-28 11:19:53 +08:00
BaseXApicX2ApicLib UefiCpuPkg: Clean up source files 2018-06-28 11:19:53 +08:00
CpuCommonFeaturesLib UefiCpuPkg/CommonFeature: Always set FEATURE_CONTROL.Lock 2018-11-14 11:02:48 +08:00
CpuExceptionHandlerLib UefiCpuPkg/CpuExceptionHandlerLib: Fix spelling issue 2018-12-21 09:51:18 +08:00
MpInitLib UefiCpuPkg/Microcode: Fix incorrect checksum issue for extended table 2019-02-21 16:16:56 +08:00
MtrrLib UefiCpuPkg/MtrrLib: Fix a bug that may wrongly set memory <1MB to UC 2019-02-19 17:14:34 +08:00
PlatformSecLibNull
RegisterCpuFeaturesLib UefiCpuPkg/RegisterCpuFeaturesLib: Replace AcquireSpinLock. 2019-01-15 13:27:37 +08:00
SecPeiDxeTimerLibUefiCpu UefiCpuPkg: Removing ipf which is no longer supported from edk2. 2018-08-14 08:58:28 +08:00
SmmCpuFeaturesLib UefiCpuPkg: Merge StuffRsb.inc files into one in UefiCpuPkg/Include 2019-01-02 09:45:29 +08:00
SmmCpuPlatformHookLibNull