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;