svn commit: r219536 - projects/altix/sys/boot/efi/libefi
Marcel Moolenaar
marcel at FreeBSD.org
Fri Mar 11 21:52:47 UTC 2011
Author: marcel
Date: Fri Mar 11 21:52:47 2011
New Revision: 219536
URL: http://svn.freebsd.org/changeset/base/219536
Log:
Bump the heap size to 2MB. We typically have the memory for it, so there's
no point in being stingy.
Modified:
projects/altix/sys/boot/efi/libefi/libefi.c
Modified: projects/altix/sys/boot/efi/libefi/libefi.c
==============================================================================
--- projects/altix/sys/boot/efi/libefi/libefi.c Fri Mar 11 21:35:38 2011 (r219535)
+++ projects/altix/sys/boot/efi/libefi/libefi.c Fri Mar 11 21:52:47 2011 (r219536)
@@ -92,7 +92,7 @@ efi_main(EFI_HANDLE image_handle, EFI_SY
BS = ST->BootServices;
RS = ST->RuntimeServices;
- heapsize = 512*1024;
+ heapsize = 2 * 1024 * 1024;
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
EFI_SIZE_TO_PAGES(heapsize), &heap);
if (status != EFI_SUCCESS)
More information about the svn-src-projects
mailing list