summaryrefslogtreecommitdiff
path: root/Source/Kernel/MemoryManager/Segment.proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/MemoryManager/Segment.proto.h')
-rw-r--r--Source/Kernel/MemoryManager/Segment.proto.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/Kernel/MemoryManager/Segment.proto.h b/Source/Kernel/MemoryManager/Segment.proto.h
deleted file mode 100644
index 780cd10..0000000
--- a/Source/Kernel/MemoryManager/Segment.proto.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef DEF_SEGMENT_PROTO_H
-#define DEF_SEGMENT_PROTO_H
-
-#include <common.h>
-
-class PageDirectory;
-class Segment;
-
-struct seg_map_t {
- Segment* seg;
- u32int start;
- u32int len;
-};
-
-class Segment {
- public:
- virtual seg_map_t map(PageDirectory *pd) = 0;
- virtual void unmap(PageDirectory *pd, seg_map_t *mapping) = 0;
- virtual bool handleFault(u32int addr, seg_map_t *mapping) = 0; //true = ok, false = app segfaulted
-
- virtual Segment* clone() { return this; }
-};
-
-#endif