summaryrefslogtreecommitdiff
path: root/boot/common/efi_loader.cpp
diff options
context:
space:
mode:
authorArseney300 <Arseney300@gmail.com>2026-04-11 17:48:52 +0700
committerArseney300 <Arseney300@gmail.com>2026-04-11 17:48:52 +0700
commit496246c92dabe6757480147016490ea6ae43bb66 (patch)
treecb922a0b1569410db44f6da17862b7e949df9fad /boot/common/efi_loader.cpp
parent2f95320e0859029f520d46f777591751dcd39634 (diff)
bastion: add Kernel, Processor, AcpiTables, DeviceTree classesHEADmaster
Kernel: main singleton object, that provide access to core kernel entities Processor: empty class, that will be used later for per-CPU entities AcpiTables: class for acpi access (can be obtained through the kernel object) DeviceTree: class for dt access (can be obtained through the kernel object)
Diffstat (limited to 'boot/common/efi_loader.cpp')
-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 {