From 4e0a3e1ace04035d141302bd3a5daf287d3cfa31 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 27 Sep 2009 11:04:23 +0800 Subject: [PATCH] Debug in Proc_Clone --- Kernel/arch/x86/proc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/arch/x86/proc.c b/Kernel/arch/x86/proc.c index d468d11a..336bcdb3 100644 --- a/Kernel/arch/x86/proc.c +++ b/Kernel/arch/x86/proc.c @@ -298,6 +298,7 @@ int Proc_Clone(Uint *Err, Uint Flags) newThread->SavedState.EBP = ebp; eip = GetEIP(); if(eip == SWITCH_MAGIC) { + Log("Thread %i running", Proc_GetCurThread()->TID); outb(0x20, 0x20); // ACK Timer and return as child return 0; } -- 2.20.1