From: John Hodge Date: Tue, 22 Sep 2009 03:24:22 +0000 (+0800) Subject: Debug in vterm X-Git-Tag: rel0.06~544 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d2e4dc958182e363debe68c1b81ef9bf90540bf7;p=tpg%2Facess2.git Debug in vterm --- diff --git a/Kernel/drv/vterm.c b/Kernel/drv/vterm.c index 05c3ab14..bd50cd95 100644 --- a/Kernel/drv/vterm.c +++ b/Kernel/drv/vterm.c @@ -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 ++; }