From: John Hodge Date: Tue, 21 Jan 2014 10:13:31 +0000 (+0800) Subject: Kernel/serial - Heap dump option X-Git-Tag: rel0.15~11 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=3fadd995d8e8c0d266f577c69999619445f0100c;p=tpg%2Facess2.git Kernel/serial - Heap dump option --- diff --git a/KernelLand/Kernel/drv/serial.c b/KernelLand/Kernel/drv/serial.c index 1b62b1bf..08fb6786 100644 --- a/KernelLand/Kernel/drv/serial.c +++ b/KernelLand/Kernel/drv/serial.c @@ -73,6 +73,9 @@ void Serial_ByteReceived(tSerialPort *Port, char Ch) case 'p': Threads_Dump(); break; + case 'h': + Heap_Dump(); + break; case 'X'-'A'+1: PTY_SendInput(Port->PTY, &Ch, 1); break;