]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r349471, r351166: Tweak EFI_STAGING_SIZE
authorKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 04:04:53 +0000 (04:04 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 04:04:53 +0000 (04:04 +0000)
commit449c50994e9638e1f13ee6edf61ec3b6ecc80f92
tree17ecd550ba785a5fdf903cad5fa9b0e375a87f51
parentc673609e679143382bf9c7667411b1a2d6eea24e
MFC r349471, r351166: Tweak EFI_STAGING_SIZE

r349471:
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.

r351166:
Reduce size of EFI_STAGING_SIZE to 32 on arm

Reduce the size of the EFI_STAGING area we allocate on arm to 32. On arm SBC
such as the NanoPi-NEOLTS the staging area allocation will fail on the 256MB
model with a staging size of 64.
stand/efi/loader/copy.c