summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-04-09 19:51:55 +0000
committerjhb <jhb@FreeBSD.org>2015-04-09 19:51:55 +0000
commita251dcdd5c550663dea0a2db7ec7ce2336256e0c (patch)
tree48dafd8a7102c38d80764ce4c4f95f278395311c /sys/boot
parent107a51b87f516e0a578d0a40ce21399c4d612e9d (diff)
downloadFreeBSD-src-a251dcdd5c550663dea0a2db7ec7ce2336256e0c.zip
FreeBSD-src-a251dcdd5c550663dea0a2db7ec7ce2336256e0c.tar.gz
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.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/amd64/efi/conf.c1
-rw-r--r--sys/boot/efi/libefi/libefi.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/amd64/efi/conf.c b/sys/boot/amd64/efi/conf.c
index f9984a3..97dd352 100644
--- a/sys/boot/amd64/efi/conf.c
+++ b/sys/boot/amd64/efi/conf.c
@@ -44,6 +44,7 @@ struct fs_ops *file_system[] = {
&cd9660_fsops,
&nfs_fsops,
&gzipfs_fsops,
+ &bzipfs_fsops,
NULL
};
diff --git a/sys/boot/efi/libefi/libefi.c b/sys/boot/efi/libefi/libefi.c
index c6c01d3..3c66b04 100644
--- a/sys/boot/efi/libefi/libefi.c
+++ b/sys/boot/efi/libefi/libefi.c
@@ -102,7 +102,7 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table)
(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)
OpenPOWER on IntegriCloud