Barebones for a FrameAllocator class

This commit is contained in:
Eryn Wells 2016-04-03 20:02:34 -04:00
parent 75af75af4e
commit 35997c61b6
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,15 @@
/* FrameAllocator.hh
* vim: set tw=80:
* Eryn Wells <eryn@erynwells.me>
*/
/**
* An object to tracks and allocate physical page frames.
*/
#include "FrameAllocator.hh"
namespace kernel {
} /* namespace kernel */

View file

@ -0,0 +1,21 @@
/* FrameAllocator.hh
* vim: set tw=80:
* Eryn Wells <eryn@erynwells.me>
*/
/**
* An object to tracks and allocate physical page frames.
*/
#ifndef __MEMORY_FRAMEALLOCATOR_HH__
#define __MEMORY_FRAMEALLOCATOR_HH__
namespace kernel {
struct FrameAllocator
{
};
} /* namespace */
#endif /* __MEMORY_FRAMEALLOCATOR_HH__ */