From: John Hodge Date: Sun, 27 Sep 2009 03:04:23 +0000 (+0800) Subject: Debug in Proc_Clone X-Git-Tag: rel0.06~477 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4e0a3e1ace04035d141302bd3a5daf287d3cfa31;hp=c35233d2516362208e98542682f9196cbb3a844a;p=tpg%2Facess2.git Debug in Proc_Clone --- 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; }