svn commit: r279950 - in head/sys/boot: amd64/efi efi/libefi
John Baldwin
jhb at FreeBSD.org
Fri Mar 13 09:41:28 UTC 2015
Author: jhb
Date: Fri Mar 13 09:41:27 2015
New Revision: 279950
URL: https://svnweb.freebsd.org/changeset/base/279950
Log:
Enable bzipfs support in the EFI loader.
- Add bzipfs to the list of supported filesystems in the EFI loader.
- Increase the heap size allocated for the EFI loader from 2MB to 3MB.
Differential Revision: https://reviews.freebsd.org/D2053
Reviewed by: benno, emaste, imp
MFC after: 2 weeks
Sponsored by: Cisco Systems, Inc.
Modified:
head/sys/boot/amd64/efi/conf.c
head/sys/boot/efi/libefi/libefi.c
Modified: head/sys/boot/amd64/efi/conf.c
==============================================================================
--- head/sys/boot/amd64/efi/conf.c Fri Mar 13 09:38:16 2015 (r279949)
+++ head/sys/boot/amd64/efi/conf.c Fri Mar 13 09:41:27 2015 (r279950)
@@ -44,6 +44,7 @@ struct fs_ops *file_system[] = {
&cd9660_fsops,
&nfs_fsops,
&gzipfs_fsops,
+ &bzipfs_fsops,
NULL
};
Modified: head/sys/boot/efi/libefi/libefi.c
==============================================================================
--- head/sys/boot/efi/libefi/libefi.c Fri Mar 13 09:38:16 2015 (r279949)
+++ head/sys/boot/efi/libefi/libefi.c Fri Mar 13 09:41:27 2015 (r279950)
@@ -102,7 +102,7 @@ efi_main(EFI_HANDLE image_handle, EFI_SY
(void)console_control->SetMode(console_control,
EfiConsoleControlScreenText);
- heapsize = 2 * 1024 * 1024;
+ heapsize = 3 * 1024 * 1024;
status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
EFI_SIZE_TO_PAGES(heapsize), &heap);
if (status != EFI_SUCCESS)
More information about the svn-src-head
mailing list