diff options
author | Alexis211 <alexis211@gmail.com> | 2009-11-11 09:31:23 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-11-11 09:31:23 +0100 |
commit | 7292b995d4f7bfea699e44ed335d7cc1616c1132 (patch) | |
tree | 8d70a0750fb5613aeba002038e7ae676fe6a271a /Source/Kernel/TaskManager/V86/V86Thread.class.cpp | |
parent | eb5f08c76b17ac6e15d6b763a7f45816cb85c570 (diff) | |
download | Melon-7292b995d4f7bfea699e44ed335d7cc1616c1132.tar.gz Melon-7292b995d4f7bfea699e44ed335d7cc1616c1132.zip |
VESA works !
Diffstat (limited to 'Source/Kernel/TaskManager/V86/V86Thread.class.cpp')
-rw-r--r-- | Source/Kernel/TaskManager/V86/V86Thread.class.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Kernel/TaskManager/V86/V86Thread.class.cpp b/Source/Kernel/TaskManager/V86/V86Thread.class.cpp index 4b07e98..26fca63 100644 --- a/Source/Kernel/TaskManager/V86/V86Thread.class.cpp +++ b/Source/Kernel/TaskManager/V86/V86Thread.class.cpp @@ -61,9 +61,7 @@ V86Thread::V86Thread(v86_function_t* entry, v86_retval_t* ret, u32int data) : Th m_process->getPagedir()->switchTo(); //Map all lower memory - for (u32int i = 0x00000; i < 0xFFFFF; i += 0x1000) { - m_process->getPagedir()->allocFrame(i, true, true); - } + V86::map(); u16int cs = V86::allocSeg(entry->size); //Alocate segments for the code to run in u8int* codeptr = (u8int*)(FP_TO_LINEAR(cs, 0)); |