summaryrefslogtreecommitdiff
path: root/ShellPkg
diff options
context:
space:
mode:
authorZhichao Gao <zhichao.gao@intel.com>2019-06-10 09:52:22 +0800
committerHao A Wu <hao.a.wu@intel.com>2019-06-24 09:18:32 +0800
commitd96f83de5e7c25579a458b4dd17c131fa96a173b (patch)
tree00e54d1b550a66c541a89ddceb89694b889211b7 /ShellPkg
parentf654a18b660e826b6e7df686f7a2bdc7b2264c37 (diff)
downloadedk2-d96f83de5e7c25579a458b4dd17c131fa96a173b.zip
edk2-d96f83de5e7c25579a458b4dd17c131fa96a173b.tar.gz
edk2-d96f83de5e7c25579a458b4dd17c131fa96a173b.tar.bz2
MdeMoudlePkg/CapsulePei: Optimize GetScatterGatherHeadEntries
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1853 Rename the MACRO from MAX_SG_LIST_HEADS to DEFAULT_SG_LIST_HEADS. GetScatterGatherHeadEntries: use allocated buffer instead of fixed array to handle the condition which the SG list is larger then the array size. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Michael Turner <Michael.Turner@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Zhichao gao <zhichao.gao@intel.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'ShellPkg')
0 files changed, 0 insertions, 0 deletions