diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-08-31 09:21:51 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-08-31 09:21:51 +0200 |
| commit | bb95c10727d4a5b9f8226462ed1bee15a71fd33c (patch) | |
| tree | 8a0d1e81ddeee7529b9601a44ee381d2c269e099 /arch | |
| parent | 66e232270ab77acf13f146f6ed49faae467994db (diff) | |
| download | kernel-bb95c10727d4a5b9f8226462ed1bee15a71fd33c.tar.xz kernel-bb95c10727d4a5b9f8226462ed1bee15a71fd33c.zip | |
chore: minor stylistic cleanups
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x86_64/arch/memory/region_allocator.cpp | 3 |
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; } |
