summaryrefslogtreecommitdiff
path: root/Source/Kernel/MemoryManager/V86Segment.class.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-12-22 16:48:52 +0100
committerAlexis211 <alexis211@gmail.com>2009-12-22 16:48:52 +0100
commitbfec696da052c8c9320773ca69927422efebe8c7 (patch)
tree325efd88744344cd732d6e3d09bfebf3cb5847a4 /Source/Kernel/MemoryManager/V86Segment.class.h
parent2c23da1cf398aef420130dde1b86e4c474e3cacb (diff)
downloadMelon-bfec696da052c8c9320773ca69927422efebe8c7.tar.gz
Melon-bfec696da052c8c9320773ca69927422efebe8c7.zip
[noncompiling commit] Started working on a segmented memory model
Diffstat (limited to 'Source/Kernel/MemoryManager/V86Segment.class.h')
-rw-r--r--Source/Kernel/MemoryManager/V86Segment.class.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Kernel/MemoryManager/V86Segment.class.h b/Source/Kernel/MemoryManager/V86Segment.class.h
new file mode 100644
index 0000000..665506d
--- /dev/null
+++ b/Source/Kernel/MemoryManager/V86Segment.class.h
@@ -0,0 +1,12 @@
+#ifndef DEF_V86SEGMENT_CLASS_H
+#define DEF_V86SEGMENT_CLASS_H
+
+#include <MemoryManager/Segment.proto.h>
+
+class V86Segment : public Segment {
+ seg_map_t map(PageDirectory *pd);
+ void unmap(PageDirectory* pd, seg_map_t *mapping);
+ bool handleFault(u32int addr, seg_map_t *mapping) { return false; }
+};
+
+#endif