Barebones for a FrameAllocator class
This commit is contained in:
parent
75af75af4e
commit
35997c61b6
2 changed files with 36 additions and 0 deletions
15
src/memory/FrameAllocator.cc
Normal file
15
src/memory/FrameAllocator.cc
Normal 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 */
|
21
src/memory/FrameAllocator.hh
Normal file
21
src/memory/FrameAllocator.hh
Normal 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__ */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue