mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
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.
This commit is contained in:
parent
7aa24c6006
commit
94e8f7c65f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349471
|
@ -176,8 +176,12 @@ efi_verify_staging_size(unsigned long *nr_pages)
|
|||
#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;
|
||||
int stage_offset_set = 0;
|
||||
|
|
Loading…
Reference in a new issue