diff options
author | Star Zeng <star.zeng@intel.com> | 2017-12-21 10:32:39 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2017-12-21 18:34:55 +0800 |
commit | 3bd91ae2365896f049bf44a4bf048eb52d7e26db (patch) | |
tree | c713d491d096b3f63aa89c69403b7078939a8a77 /BaseTools/Source/Python/Common/Parsing.py | |
parent | 889c7ca1b5e8eb3e3e2c04a5be76eb49e16834e5 (diff) | |
download | edk2-3bd91ae2365896f049bf44a4bf048eb52d7e26db.tar.gz edk2-3bd91ae2365896f049bf44a4bf048eb52d7e26db.tar.bz2 edk2-3bd91ae2365896f049bf44a4bf048eb52d7e26db.zip |
IntelSiliconPkg MicrocodeUpdateDxe: Fix (ExtendedTableLength & 0x3)!=0
The first 48 bytes contain the microcode update header.
DataSize must be a multiple of DWORDs.
TotalSize is always a multiple of 1024.
Both size of CPU_MICROCODE_EXTENDED_TABLE_HEADER and
CPU_MICROCODE_EXTENDED_TABLE are multiple of DWORDs.
So (ExtendedTableLength & 0x3)!=0 should be
(ExtendedTableLength & 0x3)==0.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Parsing.py')
0 files changed, 0 insertions, 0 deletions