From 612f1f4f0bf940bf81a2593c49c90d1b0a5971f0 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 31 May 2010 22:20:40 +0800 Subject: [PATCH] Yay! TSS issues fixed, now to work on the VMM --- Kernel/arch/x86_64/mm_virt.c | 4 ++++ Kernel/arch/x86_64/start32.asm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Kernel/arch/x86_64/mm_virt.c b/Kernel/arch/x86_64/mm_virt.c index 31bc0d81..6924b1a8 100644 --- a/Kernel/arch/x86_64/mm_virt.c +++ b/Kernel/arch/x86_64/mm_virt.c @@ -492,6 +492,8 @@ tPAddr MM_Clone(void) ret = MM_AllocPhys(); if(!ret) return 0; + Log_KernelPanic("MM", "TODO: Implement MM_Clone"); + // #2 Alter the fractal pointer // #3 Set Copy-On-Write to all user pages // #4 Return @@ -553,10 +555,12 @@ void MM_ClearUser(void) tVAddr MM_NewWorkerStack(void) { + Log_KernelPanic("MM", "TODO: Implement MM_NewWorkerStack"); return 0; } tVAddr MM_NewKStack(void) { + Log_KernelPanic("MM", "TODO: Implement MM_NewKStack"); return 0; } diff --git a/Kernel/arch/x86_64/start32.asm b/Kernel/arch/x86_64/start32.asm index 011fb479..0abf8eb0 100644 --- a/Kernel/arch/x86_64/start32.asm +++ b/Kernel/arch/x86_64/start32.asm @@ -94,7 +94,7 @@ gGDT: dd 0x00000000, 0x0000F200 ; 0x20: 64-bit User Data dd 0x00000000, 0x0040FA00 ; 0x38: 32-bit User Code dd 0x00000000, 0x0040F200 ; 0x30: 32-bit User Data - times MAX_CPUS dd 0x00008900, 0, 0, 0 ; 0x38+16*n: TSS 0 + times MAX_CPUS dd 0, 0x00008900, 0, 0 ; 0x38+16*n: TSS 0 gGDTPtr: dw $-gGDT-1 dd gGDT-KERNEL_BASE -- 2.20.1