]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/BdsLib: Increase fallback tftp buffer size
authorAshutosh Singh <ashutosh.singh@arm.com>
Mon, 9 Nov 2015 13:13:37 +0000 (13:13 +0000)
committerleiflindholm <leiflindholm@Edk2>
Mon, 9 Nov 2015 13:13:37 +0000 (13:13 +0000)
commitf3e88737f78135f70a5bb79283e40b829bdb02dd
tree02ecc64da82c24a2ac8aa7457d108b029d6683e4
parent67b3c0f95886a478c4fd3d6f48489dbc7aee9818
ArmPkg/BdsLib: Increase fallback tftp buffer size

When performing a tftp download from a server which does not support
rfc2349 transfer size option (such as netkit-tftpd), the existing code
falls back to allocating an 8MB buffer. Since this is insufficient for
an uncompressed AArch64 Linux kernel image, double the size to 16MB.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ashutosh Singh <ashutosh.singh@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18748 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/BdsLib/BdsFilePath.c