summaryrefslogtreecommitdiff
path: root/Source/Kernel/MemoryManager/KernelSegment.class.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/MemoryManager/KernelSegment.class.h')
-rw-r--r--Source/Kernel/MemoryManager/KernelSegment.class.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/Source/Kernel/MemoryManager/KernelSegment.class.h b/Source/Kernel/MemoryManager/KernelSegment.class.h
deleted file mode 100644
index 4d8205a..0000000
--- a/Source/Kernel/MemoryManager/KernelSegment.class.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef DEF_KERNEL_SEGMENT_CLASS_H
-#define DEF_KERNEL_SEGMENT_CLASS_H
-
-#include <MemoryManager/Segment.proto.h>
-#include <MemoryManager/PageDirectory.class.h>
-
-class KernelSegment : public Segment {
- private:
- Vector<PageDirectory*> m_pds;
- page_table_t *tables[256];
- u32int tablesPhysical[256];
-
- page_t* getPage(u32int addr);
-
- public:
- seg_map_t map(PageDirectory *pd);
- void unmap(PageDirectory *pd, seg_map_t *mapping) {}
- bool handleFault(u32int addr, seg_map_t *mapping) { return false; }
-
- bool allocFrame(u32int addr); //false when page already was mapped to a frame
- void identityMap(u32int addr); //Used only on paging initialisation
- void freeFrame(u32int addr);
-};
-
-#endif