v1: Sperate the capsule check function from GetCapsuleDescriptors and name it to AreCapsulesStaged. Rename GetCapsuleDescriptors to GetScatterGatherHeadEntries. And optimize its to remove the duplicated code.
V2: Clarify the changes of the patch and descript in the commit message. V3: Add the code change repo location in Mu and add description of the changes on it. Do not need to remain 2 byte for the null-terminate while using UnicodeValueToStringS. V4: Separate the patch into 2 part. first part is changes from MU. Second part is the substantial change on it. V5: Separate the substantial change in 2/2 base on the purpose. Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Hao A Wu <hao.a...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Liming Gao <liming....@intel.com> Cc: Sean Brogan <sean.bro...@microsoft.com> Cc: Michael Turner <michael.tur...@microsoft.com> Cc: Bret Barkelew <bret.barke...@microsoft.com> Cc: Leif Lindholm <leif.lindh...@linaro.org> Bret Barkelew (1): MdeModulePkg/CapsulePei: Optimize the CapsulePei Zhichao Gao (4): MdeMoudlePkg/CapsulePei: Fix coding style issue MdeMoudlePkg/CapsulePei: Optimize AreCapsulesStaged MdeMoudlePkg/CapsulePei: Optimize GetScatterGatherHeadEntries MdeMoudlePkg/CapsulePei: No need to remain space for null-terminate MdeModulePkg/Universal/CapsulePei/Capsule.h | 1 + .../Universal/CapsulePei/CapsulePei.inf | 1 + .../Universal/CapsulePei/UefiCapsule.c | 356 +++++++++--------- 3 files changed, 190 insertions(+), 168 deletions(-) -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42054): https://edk2.groups.io/g/devel/message/42054 Mute This Topic: https://groups.io/mt/32001191/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-