summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/common/efi_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/common/efi_loader.cpp b/boot/common/efi_loader.cpp
index da10b91..0a1a7ca 100644
--- a/boot/common/efi_loader.cpp
+++ b/boot/common/efi_loader.cpp
@@ -30,7 +30,7 @@ static EFI_BOOT_SERVICES* gBS = nullptr; /* global Boot Services, function table
// Max memory-map entries
//TODO: fix problem with that
-static constexpr uint64_t MAX_MEMORY_REGIONS = 256;
+static constexpr uint64_t MAX_MEMORY_REGIONS = CONFIG_MAX_MEMORY_REGIONS;
// Low-level halt - safe to call even after ExitBootServices
[[noreturn]] static void panic_halt() noexcept {