audk/UefiCpuPkg/Library/MpInitLib
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
..
Ia32 UefiCpuPkg: Clean up source files 2018-06-28 11:19:53 +08:00
X64 UefiCpuPkg: Clean up source files 2018-06-28 11:19:53 +08:00
DxeMpInitLib.inf UefiCpuPkg/MpInitLib: Add missing Guard page setup for APs 2017-12-22 14:16:51 +08:00
DxeMpInitLib.uni
DxeMpLib.c UefiCpuPkg/MpInitLib: Fix ASSERT for success. 2018-10-30 10:21:29 +08:00
Microcode.c UefiCpuPkg/Microcode: Fix incorrect checksum issue for extended table 2019-02-21 16:16:56 +08:00
MpLib.c UefiCpuPkg/MpInitLib: Rollback old change 2a5997f8. 2018-11-05 10:39:13 +08:00
MpLib.h UefiCpuPkg/MpInitLib: Rollback old change 2a5997f8. 2018-11-05 10:39:13 +08:00
PeiMpInitLib.inf UefiCpuPkg/MpInitLib: Fix ECC issues. 2018-09-06 08:04:29 +08:00
PeiMpInitLib.uni
PeiMpLib.c UefiCpuPkg/MpInitLib: Remove useless code. 2018-07-20 09:24:42 +08:00