aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2024-11-01 10:08:55 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2024-11-01 10:08:55 +0000
commit1154d641797e8bb51814fad2a618e9e30c3d0685 (patch)
treef97bc49cc6af47b55bf0fe1cf843ea7b0972995b /arch
parent29c51a2cc30060bd904b06cbe6913755352c48c7 (diff)
parentb0f666ba15ff2db3178ca54242308e3dd5dd6faa (diff)
downloadteachos-1154d641797e8bb51814fad2a618e9e30c3d0685.tar.xz
teachos-1154d641797e8bb51814fad2a618e9e30c3d0685.zip
Merge branch 'feat_memory_manager' of ssh://gitlab.ost.ch:45022/teachos/kernel into feat_memory_manager
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/include/arch/memory/allocator/tiny_frame_allocator.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86_64/include/arch/memory/allocator/tiny_frame_allocator.hpp b/arch/x86_64/include/arch/memory/allocator/tiny_frame_allocator.hpp
index 77d1b43..4bcec1c 100644
--- a/arch/x86_64/include/arch/memory/allocator/tiny_frame_allocator.hpp
+++ b/arch/x86_64/include/arch/memory/allocator/tiny_frame_allocator.hpp
@@ -15,7 +15,12 @@ namespace teachos::arch::memory::allocator
struct tiny_frame_allocator
{
/**
- * @brief Defaulted constructor.
+ * @brief Constructor.
+ *
+ * @tparam T Type constraint of the allocator, being that is follows the given concept and contains an allocate and
+ * deallocate method.
+ * @param allocator Reference to an allocator following the FrameAllocator concept, which is used to allocate
+ * entries *when a new page table is required.
*/
tiny_frame_allocator(area_frame_allocator & allocator)
: frames{}