Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 5572b43c6767f7cc46b074ae1fc288f6eccdc65d https://github.com/tianocore/edk2/commit/5572b43c6767f7cc46b074ae1fc288f6eccdc65d Author: Igniculus Fu <igniculus...@amd.com> Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths: M BaseTools/Source/Python/GenFds/Capsule.py Log Message: ----------- BaseTools/GenFds: Apply OEM_CAPSULE_FLAGS during Capsule generation. 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...@amd.com> Cc: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Yuwei Chen <yuwei.c...@intel.com> Cc: Abner Chang <abner.ch...@amd.com> Cc: Eric Xing <eric.x...@amd.com> Cc: Abdul Lateef Attar <abdat...@amd.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits