mirror of https://github.com/acidanthera/audk.git
5572b43c67
Bugzilla ticket 4633 FdfParser.py has defined a key named OEM_CAPSULE_FLAGS to set the lower 16 bits of EFI_CAPSULE_HEADER.Flags. However, this key is totally "forgotten" in Capsule.py, making it impossible to set lower 16 bits of this field, and leading to an always FALSE when comparing to gEfiMdeModulePkgTokenSpaceGuid.PcdSystemRebootAfterCapsuleProcessFlag in MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleProcessLib.c: ProcessTheseCapsules(). This patch ORs the value of OEM_CAPSULE_FLAGS with previously calculated CAPSULE_FLAGS value, making the lower 16 bits of value being correctly set. Signed-off-by: Igniculus Fu <igniculus.fu@amd.com> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Cc: Abner Chang <abner.chang@amd.com> Cc: Eric Xing <eric.xing@amd.com> Cc: Abdul Lateef Attar <abdattar@amd.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> |
||
---|---|---|
.. | ||
AprioriSection.py | ||
Capsule.py | ||
CapsuleData.py | ||
CompressSection.py | ||
DataSection.py | ||
DepexSection.py | ||
EfiSection.py | ||
Fd.py | ||
FdfParser.py | ||
Ffs.py | ||
FfsFileStatement.py | ||
FfsInfStatement.py | ||
Fv.py | ||
FvImageSection.py | ||
GenFds.py | ||
GenFdsGlobalVariable.py | ||
GuidSection.py | ||
OptRomFileStatement.py | ||
OptRomInfStatement.py | ||
OptionRom.py | ||
Region.py | ||
Rule.py | ||
RuleComplexFile.py | ||
RuleSimpleFile.py | ||
Section.py | ||
SubTypeGuidSection.py | ||
UiSection.py | ||
VerSection.py | ||
__init__.py |