Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 5572b43c6767f7cc46b074ae1fc288f6eccdc65d
https://github.com/tianocore/edk2/commit/5572b43c6767f7cc46b074ae1fc288f6eccdc65d
Author: Igniculus Fu <[email protected]>
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 <[email protected]>
Cc: Bob Feng <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Yuwei Chen <[email protected]>
Cc: Abner Chang <[email protected]>
Cc: Eric Xing <[email protected]>
Cc: Abdul Lateef Attar <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits