PKGBUILDs/core/grub/0004-increase-heap-size.patch
2022-08-21 19:13:48 +00:00

12 lines
470 B
Diff

diff -urN grub/grub-core/kern/efi/mm.c grub/grub-core/kern/efi/mm.c
--- grub/grub-core/kern/efi/mm.c 2022-08-20 20:17:23.975902981 +0900
+++ grub/grub-core/kern/efi/mm.c 2022-08-20 20:17:16.268139945 +0900
@@ -39,7 +39,7 @@
#define MEMORY_MAP_SIZE 0x3000
/* The default heap size for GRUB itself in bytes. */
-#define DEFAULT_HEAP_SIZE 0x100000
+#define DEFAULT_HEAP_SIZE 0x200000
static void *finish_mmap_buf = 0;
static grub_efi_uintn_t finish_mmap_size = 0;