Date: Thu, 5 Dec 2024 00:18:57 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 3f960a05ba00 - main - loader: remove check for 2M alignment Message-ID: <202412050018.4B50Ivum013509@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3f960a05ba003870ee51e037ab18006511f12f8c commit 3f960a05ba003870ee51e037ab18006511f12f8c Author: Ahmad Khalifa <ahmadkhalifa570@gmail.com> AuthorDate: 2024-09-30 17:31:32 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-12-05 00:19:18 +0000 loader: remove check for 2M alignment Instead of listing every arch we support, always define EFI_STAGING_2M_ALIGN to 1. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1446 --- stand/efi/loader/copy.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/stand/efi/loader/copy.c b/stand/efi/loader/copy.c index 485ec152ae21..935db3a420ba 100644 --- a/stand/efi/loader/copy.c +++ b/stand/efi/loader/copy.c @@ -178,12 +178,7 @@ out: #define EFI_STAGING_SIZE DEFAULT_EFI_STAGING_SIZE #endif -#if defined(__aarch64__) || defined(__amd64__) || defined(__arm__) || \ - defined(__riscv) || defined(__i386__) #define EFI_STAGING_2M_ALIGN 1 -#else -#define EFI_STAGING_2M_ALIGN 0 -#endif #if defined(__amd64__) || defined(__i386__) #define EFI_STAGING_SLOP M(8)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412050018.4B50Ivum013509>