diff options
author | Siyuan Fu <siyuan.fu@intel.com> | 2020-01-08 11:22:30 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-01-10 06:20:42 +0000 |
commit | dd01704111c6e85b7bca62968d48abc2c626a3c6 (patch) | |
tree | 3875ec78c3ee17921feac2cccbea986cf2daa11f /BaseTools/Source/Python/Workspace/DscBuildData.py | |
parent | c7c964b10999895685c3bcf844e5b7261af05619 (diff) | |
download | edk2-dd01704111c6e85b7bca62968d48abc2c626a3c6.tar.gz edk2-dd01704111c6e85b7bca62968d48abc2c626a3c6.tar.bz2 edk2-dd01704111c6e85b7bca62968d48abc2c626a3c6.zip |
UefiCpuPkg: Shadow microcode patch according to FIT microcode entry.
The existing MpInitLib will shadow the microcode update patches from
flash to memory and this is done by searching microcode region specified
by PCD PcdCpuMicrocodePatchAddress and PcdCpuMicrocodePatchRegionSize.
This brings a limition to platform FW that all the microcode patches must
be placed in one continuous flash space.
This patch shadows microcode update according to FIT microcode entries if
it's present, otherwise it will fallback to original logic (by PCD).
A new featured PCD gUefiCpuPkgTokenSpaceGuid.PcdCpuShadowMicrocodeByFit
is added for enabling/disabling this support.
TEST: Tested on FIT enabled platform.
BZ: https://tianocore.acgmultimedia.com/show_bug.cgi?id=2449
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
0 files changed, 0 insertions, 0 deletions