summaryrefslogtreecommitdiff
path: root/Source/Kernel/MemoryManager/V86Segment.class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/MemoryManager/V86Segment.class.cpp')
-rw-r--r--Source/Kernel/MemoryManager/V86Segment.class.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/Source/Kernel/MemoryManager/V86Segment.class.cpp b/Source/Kernel/MemoryManager/V86Segment.class.cpp
deleted file mode 100644
index e82a94c..0000000
--- a/Source/Kernel/MemoryManager/V86Segment.class.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include "V86Segment.class.h"
-#include <MemoryManager/PageDirectory.class.h>
-
-seg_map_t V86Segment::map(PageDirectory *pd) {
- for (u32int i = 0; i < 0x100000; i += 0x1000) {
- PageDirectory::map(pd->getPage(i, true), i / 0x1000, true, true);
- }
- seg_map_t map = {this, 0, 0x100000};
- return map;
-}
-
-void V86Segment::unmap(PageDirectory* pd, seg_map_t *mapping) {
- for (u32int i = 0; i < 0x100000; i += 0x1000) {
- PageDirectory::unmap(pd->getPage(i, false));
- }
-}