diff options
| author | Chen A Chen <chen.a.chen@intel.com> | 2019-02-15 09:29:41 +0300 |
|---|---|---|
| committer | Eric Dong <eric.dong@intel.com> | 2019-02-21 11:16:56 +0300 |
| commit | b6f67b4d58b81f12f63f5f8c94cf8af3600297ab (patch) | |
| tree | 79ad7f1e1459177a97c198a0b1ced5f42ee0c00c /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h | |
| parent | b49758c11280a0dfba981632ed6ed06ed80a30d8 (diff) | |
| download | edk2-b6f67b4d58b81f12f63f5f8c94cf8af3600297ab.tar.xz | |
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions
