Debug in Proc_Clone
authorJohn Hodge <[email protected]>
Sun, 27 Sep 2009 03:04:23 +0000 (11:04 +0800)
committerJohn Hodge <[email protected]>
Sun, 27 Sep 2009 03:04:23 +0000 (11:04 +0800)
Kernel/arch/x86/proc.c

index d468d11..336bcdb 100644 (file)
@@ -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;
        }

UCC git Repository :: git.ucc.asn.au