svn commit: r281323 - in stable/10/sys/boot: amd64/efi efi/libefi

John Baldwin jhb at FreeBSD.org
Thu Apr 9 19:51:57 UTC 2015


Author: jhb
Date: Thu Apr  9 19:51:55 2015
New Revision: 281323
URL: https://svnweb.freebsd.org/changeset/base/281323

Log:
  MFC 279950:
  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.

Modified:
  stable/10/sys/boot/amd64/efi/conf.c
  stable/10/sys/boot/efi/libefi/libefi.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/boot/amd64/efi/conf.c
==============================================================================
--- stable/10/sys/boot/amd64/efi/conf.c	Thu Apr  9 19:48:42 2015	(r281322)
+++ stable/10/sys/boot/amd64/efi/conf.c	Thu Apr  9 19:51:55 2015	(r281323)
@@ -44,6 +44,7 @@ struct fs_ops *file_system[] = {
 	&cd9660_fsops,
 	&nfs_fsops,
 	&gzipfs_fsops,
+	&bzipfs_fsops,
 	NULL
 };
 

Modified: stable/10/sys/boot/efi/libefi/libefi.c
==============================================================================
--- stable/10/sys/boot/efi/libefi/libefi.c	Thu Apr  9 19:48:42 2015	(r281322)
+++ stable/10/sys/boot/efi/libefi/libefi.c	Thu Apr  9 19:51:55 2015	(r281323)
@@ -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-all mailing list