svn commit: r293300 - stable/10/sys/boot/efi/loader

Ed Maste emaste at FreeBSD.org
Thu Jan 7 02:41:59 UTC 2016


Author: emaste
Date: Thu Jan  7 02:41:57 2016
New Revision: 293300
URL: https://svnweb.freebsd.org/changeset/base/293300

Log:
  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

Modified:
  stable/10/sys/boot/efi/loader/copy.c

Modified: stable/10/sys/boot/efi/loader/copy.c
==============================================================================
--- stable/10/sys/boot/efi/loader/copy.c	Thu Jan  7 02:37:17 2016	(r293299)
+++ stable/10/sys/boot/efi/loader/copy.c	Thu Jan  7 02:41:57 2016	(r293300)
@@ -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)


More information about the svn-src-all mailing list