summaryrefslogtreecommitdiff
path: root/Source/Kernel/MemoryManager/PhysMem.ns.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/MemoryManager/PhysMem.ns.h')
-rw-r--r--Source/Kernel/MemoryManager/PhysMem.ns.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/Kernel/MemoryManager/PhysMem.ns.h b/Source/Kernel/MemoryManager/PhysMem.ns.h
index 3e6ec55..258591a 100644
--- a/Source/Kernel/MemoryManager/PhysMem.ns.h
+++ b/Source/Kernel/MemoryManager/PhysMem.ns.h
@@ -3,21 +3,17 @@
#include <MemoryManager/PageDirectory.class.h>
-#include <MemoryManager/KernelSegment.class.h>
-
extern PageDirectory* kernelPageDirectory;
namespace PhysMem {
void initPaging(u32int mem_size);
void removeTemporaryPages();
- u32int getFrame();
- void freeFrame(u32int frame);
+ void allocFrame(page_t *page, bool is_user, bool is_writable);
+ void freeFrame(page_t *page);
u32int free();
u32int total();
-
- extern KernelSegment keSeg;
}
#endif