aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-08-31 09:21:51 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-08-31 09:21:51 +0200
commitbb95c10727d4a5b9f8226462ed1bee15a71fd33c (patch)
tree8a0d1e81ddeee7529b9601a44ee381d2c269e099 /arch
parent66e232270ab77acf13f146f6ed49faae467994db (diff)
downloadkernel-bb95c10727d4a5b9f8226462ed1bee15a71fd33c.tar.xz
kernel-bb95c10727d4a5b9f8226462ed1bee15a71fd33c.zip
chore: minor stylistic cleanups
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/arch/memory/region_allocator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/arch/memory/region_allocator.cpp b/arch/x86_64/arch/memory/region_allocator.cpp
index 4086a10b..ece492f3 100644
--- a/arch/x86_64/arch/memory/region_allocator.cpp
+++ b/arch/x86_64/arch/memory/region_allocator.cpp
@@ -20,8 +20,7 @@ namespace arch::memory
return kapi::memory::frame::containing(kapi::memory::physical_address{region.base + region.size_in_B - 1});
}
- constexpr auto falls_within(kapi::memory::frame const & candidate, kapi::memory::frame const & start,
- kapi::memory::frame const & end)
+ constexpr auto falls_within(kapi::memory::frame candidate, kapi::memory::frame start, kapi::memory::frame end)
{
return candidate >= start && candidate <= end;
}