diff options
author | Alexis211 <alexis211@gmail.com> | 2009-12-22 16:48:52 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-12-22 16:48:52 +0100 |
commit | bfec696da052c8c9320773ca69927422efebe8c7 (patch) | |
tree | 325efd88744344cd732d6e3d09bfebf3cb5847a4 /Source/Kernel/MemoryManager/V86Segment.class.h | |
parent | 2c23da1cf398aef420130dde1b86e4c474e3cacb (diff) | |
download | Melon-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.h | 12 |
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 |