summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/loader
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-01-07 02:41:57 +0000
committeremaste <emaste@FreeBSD.org>2016-01-07 02:41:57 +0000
commitc680da735e2eba73062b4caced26b2eb3379a27c (patch)
treed3926ae16d1b4ce06831c0e57732eef9136b691b /sys/boot/efi/loader
parentca7ff8637aa6d5b9c27153cf6cb3a1fd15c3cced (diff)
downloadFreeBSD-src-c680da735e2eba73062b4caced26b2eb3379a27c.zip
FreeBSD-src-c680da735e2eba73062b4caced26b2eb3379a27c.tar.gz
MFC r287934: Increase EFI staging size from 32MB to 48MB
The EFI boot loader allocates a single chunk of contiguous memory to hold the kernel, modules, and any other loaded data. This memory block is relocated to the kernel's expected location during the transfer of control from the loader to the kernel. PR: 201679
Diffstat (limited to 'sys/boot/efi/loader')
-rw-r--r--sys/boot/efi/loader/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/efi/loader/copy.c b/sys/boot/efi/loader/copy.c
index 1da3f43..1e54418 100644
--- a/sys/boot/efi/loader/copy.c
+++ b/sys/boot/efi/loader/copy.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#include <efilib.h>
#ifndef EFI_STAGING_SIZE
-#define EFI_STAGING_SIZE 32
+#define EFI_STAGING_SIZE 48
#endif
#define STAGE_PAGES ((EFI_STAGING_SIZE) * 1024 * 1024 / 4096)
OpenPOWER on IntegriCloud