From 4f1dae37d85af1f9329082eef68472e049327c67 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 24 Apr 2016 19:16:53 -0400 Subject: [PATCH] Comments about the FrameAllocator --- src/memory/FrameAllocator.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/memory/FrameAllocator.hh b/src/memory/FrameAllocator.hh index ad6c200..ca74895 100644 --- a/src/memory/FrameAllocator.hh +++ b/src/memory/FrameAllocator.hh @@ -16,6 +16,10 @@ namespace kernel { +/** + * Handles allocating page frames. Frames are chunks of physical memory into + * which pages may be allocated. + */ struct FrameAllocator { FrameAllocator(); @@ -28,6 +32,8 @@ struct FrameAllocator */ void* allocate(); + // TODO: free() + private: typedef kstd::Bitmap Bitmap;