aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/kapi/memory.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-09-03 15:06:05 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-09-03 15:06:05 +0200
commit60ad0c9a8da2cf265b1825cb555cebe9c96de069 (patch)
treeeade2e52c744cfa63ac0bc9888583c998cdd4751 /arch/x86_64/kapi/memory.cpp
parentde85ad8d0558d0950506a7e64e7a5f2d48dc8485 (diff)
parent28114ae949130d39380a80800c60b5b334d61b19 (diff)
downloadkernel-60ad0c9a8da2cf265b1825cb555cebe9c96de069.tar.xz
kernel-60ad0c9a8da2cf265b1825cb555cebe9c96de069.zip
Merge branch 'fmorgner/code-style-cleanup' into 'develop'
chore: clean up code according to style guide See merge request teachos/kernel!58
Diffstat (limited to 'arch/x86_64/kapi/memory.cpp')
-rw-r--r--arch/x86_64/kapi/memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kapi/memory.cpp b/arch/x86_64/kapi/memory.cpp
index 9cf955e5..03c5107c 100644
--- a/arch/x86_64/kapi/memory.cpp
+++ b/arch/x86_64/kapi/memory.cpp
@@ -40,7 +40,7 @@ namespace kapi::memory
auto constinit higher_half_mapper = std::optional<arch::memory::higher_half_mapper>{};
//! Instantiate a basic, memory region based, early frame allocator for remapping.
- auto collect_memory_information()
+ auto collect_memory_information() -> arch::memory::region_allocator::memory_information
{
auto memory_map = boot::bootstrap_information.mbi->maybe_memory_map();
if (!memory_map)