aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-03-17 22:21:33 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-03-17 22:21:33 +0100
commit1f8cc6683f4e2ef2e311078f48a1b4477dadaaec (patch)
tree6ff0b6c5052f235a7edf1f642e2a4c67c84d8232 /arch/x86_64
parente4291ea7c01cad04a02ca3f577dba9ccbadad110 (diff)
downloadteachos-1f8cc6683f4e2ef2e311078f48a1b4477dadaaec.tar.xz
teachos-1f8cc6683f4e2ef2e311078f48a1b4477dadaaec.zip
x86_64/memory: fix region allocator logic
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/src/memory/region_allocator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/region_allocator.cpp b/arch/x86_64/src/memory/region_allocator.cpp
index 2690a7c..4ee3ca4 100644
--- a/arch/x86_64/src/memory/region_allocator.cpp
+++ b/arch/x86_64/src/memory/region_allocator.cpp
@@ -85,14 +85,14 @@ namespace arch::memory
{
m_next_frame = m_kernel_end + 1;
advanced = true;
- break;
+ continue;
}
if (falls_within(m_next_frame, m_multiboot_start, m_multiboot_end))
{
m_next_frame = m_multiboot_end + 1;
advanced = true;
- break;
+ continue;
}
if (m_multiboot_information)