Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 22:06:41 +0000 (UTC)
From:      Rebecca Cran <bcran@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349471 - head/stand/efi/loader
Message-ID:  <201906272206.x5RM6f52093234@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bcran
Date: Thu Jun 27 22:06:41 2019
New Revision: 349471
URL: https://svnweb.freebsd.org/changeset/base/349471

Log:
  Increase EFI_STAGING_SIZE to 100MB on x64
  
  To avoid failures when the large 18MB nvidia.ko module is being loaded,
  increase EFI_STAGING_SIZE from 64MB to 100MB on x64 systems.
  Leave the other platforms at 64MB.

Modified:
  head/stand/efi/loader/copy.c

Modified: head/stand/efi/loader/copy.c
==============================================================================
--- head/stand/efi/loader/copy.c	Thu Jun 27 21:45:40 2019	(r349470)
+++ head/stand/efi/loader/copy.c	Thu Jun 27 22:06:41 2019	(r349471)
@@ -176,7 +176,11 @@ out:
 #endif /* __i386__ || __amd64__ */
 
 #ifndef EFI_STAGING_SIZE
+#if defined(__amd64__)
+#define	EFI_STAGING_SIZE	100
+#else
 #define	EFI_STAGING_SIZE	64
+#endif
 #endif
 
 EFI_PHYSICAL_ADDRESS	staging, staging_end;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906272206.x5RM6f52093234>