blob: c399c60cea9428f58c61906ff78b4d390bb46617 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
https://bugs.gentoo.org/983397
https://gitlab.freedesktop.org/gnu-grub/grub/-/work_items/90
https://gitlab.freedesktop.org/gnu-grub/grub/-/merge_requests/274
From 711110daccaf15df695b270d13f76b5bc84a64dd Mon Sep 17 00:00:00 2001
From: Neal Gompa <neal@gompa.dev>
Date: Mon, 28 Sep 2026 18:12:45 -0400
Subject: [PATCH] Revert "arm64: Limit memory allocations to 4GB boundary"
This causes failed memory allocations on some ARM-based platforms,
notably Apple Silicon Macs.
This reverts commit 1cae861314f43540cde773fab8b6ed769dc5f106.
Reviewed-by: Leo Sandoval <lsandova@redhat.com>
Signed-off-by: Neal Gompa <neal@gompa.dev>
Part-of: <https://gitlab.freedesktop.org/gnu-grub/grub/-/merge_requests/274>
---
include/grub/arm64/efi/memory.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/grub/arm64/efi/memory.h b/include/grub/arm64/efi/memory.h
index 2c64918e3..c6cb32417 100644
--- a/include/grub/arm64/efi/memory.h
+++ b/include/grub/arm64/efi/memory.h
@@ -1,6 +1,6 @@
#ifndef GRUB_MEMORY_CPU_HEADER
#include <grub/efi/memory.h>
-#define GRUB_EFI_MAX_USABLE_ADDRESS 0xffffffff
+#define GRUB_EFI_MAX_USABLE_ADDRESS 0xffffffffffffULL
#endif /* ! GRUB_MEMORY_CPU_HEADER */
--
GitLab
|