Date: Sat, 17 Aug 2019 06:47:43 +0000 (UTC) From: Tom Jones <thj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r351166 - head/stand/efi/loader Message-ID: <201908170647.x7H6lhxv082453@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thj Date: Sat Aug 17 06:47:43 2019 New Revision: 351166 URL: https://svnweb.freebsd.org/changeset/base/351166 Log: 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. Reviewed by: bcran, manu Approved by: bz (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D21016 Modified: head/stand/efi/loader/copy.c Modified: head/stand/efi/loader/copy.c ============================================================================== --- head/stand/efi/loader/copy.c Sat Aug 17 06:44:11 2019 (r351165) +++ head/stand/efi/loader/copy.c Sat Aug 17 06:47:43 2019 (r351166) @@ -178,6 +178,8 @@ out: #ifndef EFI_STAGING_SIZE #if defined(__amd64__) #define EFI_STAGING_SIZE 100 +#elif defined(__arm__) +#define EFI_STAGING_SIZE 32 #else #define EFI_STAGING_SIZE 64 #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908170647.x7H6lhxv082453>