Debug in vterm
authorJohn Hodge <[email protected]>
Tue, 22 Sep 2009 03:24:22 +0000 (11:24 +0800)
committerJohn Hodge <[email protected]>
Tue, 22 Sep 2009 03:24:22 +0000 (11:24 +0800)
Kernel/drv/vterm.c

index 05c3ab1..bd50cd9 100644 (file)
@@ -240,6 +240,7 @@ Uint64 VT_Read(tVFS_Node *Node, Uint64 Offset, Uint64 Length, void *Buffer)
                        while(term->InputRead == term->InputWrite)      Proc_Yield();
                        while(term->InputRead != term->InputWrite)
                        {
+                               LOG("WriteUTF8(%p, 0x%x)", Buffer+pos, term->InputBuffer[term->InputRead]);
                                pos += WriteUTF8(Buffer+pos, term->InputBuffer[term->InputRead]);
                                term->InputRead ++;
                        }

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