svn commit: r349471 - head/stand/efi/loader
Rebecca Cran
bcran at FreeBSD.org
Thu Jun 27 22:06:42 UTC 2019
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;
More information about the svn-src-all
mailing list