aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/memory')
-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 13103c7..a0579a3 100644
--- a/arch/x86_64/src/memory/region_allocator.cpp
+++ b/arch/x86_64/src/memory/region_allocator.cpp
@@ -12,12 +12,12 @@ namespace teachos::memory::x86_64
{
namespace
{
- auto constexpr last_frame(multiboot2::memory_map::region const & region)
+ constexpr auto last_frame(multiboot2::memory_map::region const & region)
{
return frame::containing(physical_address{region.base + region.size_in_B - 1});
}
- auto constexpr falls_within(frame const & candidate, frame const & start, frame const & end)
+ constexpr auto falls_within(frame const & candidate, frame const & start, frame const & end)
{
return candidate >= start && candidate <= end;
}