mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 19:03:48 +01:00
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. The GENERIC kernel on amd64 has recently grown such that a kernel + zfs.ko no longer fits in the default staging size. Bump the default size from 32MB to 48MB to provide more breathing room. PR: 201679 Reviewed by: imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D3666
This commit is contained in:
parent
7d2c7a2790
commit
6471c2fc7c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user