mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
loader: remove check for 2M alignment
Instead of listing every arch we support, always define EFI_STAGING_2M_ALIGN to 1.
This commit is contained in:
parent
c4b7af5304
commit
78d6582411
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user