add files
This commit is contained in:
11
kernel/memory/pageframealloc.h
Normal file
11
kernel/memory/pageframealloc.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <cstdint>
|
||||
|
||||
#include "../memory/pageframe.h"
|
||||
|
||||
namespace PageFrameAllocator {
|
||||
void init ();
|
||||
void stats ();
|
||||
PageFrame* alloc(bool kernel);
|
||||
void free (PageFrame *frame);
|
||||
void free (uintptr_t addr);
|
||||
}
|
||||
Reference in New Issue
Block a user