Comments about the FrameAllocator

This commit is contained in:
Eryn Wells 2016-04-24 19:16:53 -04:00
parent efcd5218a4
commit 4f1dae37d8

View file

@ -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<u8> Bitmap;