X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fdrv%2Fkb.c;h=5e078406b595b0bcf0384b00ac3d8a52c1e2e023;hb=4bc68df387ca7de4a0616d779509e5ebc05d0de4;hp=18f431ae7a5608f4ab44cd595f4ebe5d4ad40be7;hpb=d1714d8a27a603ce8ac4ba91e8c0c3d060d767ee;p=tpg%2Facess2.git diff --git a/Kernel/drv/kb.c b/Kernel/drv/kb.c index 18f431ae..5e078406 100644 --- a/Kernel/drv/kb.c +++ b/Kernel/drv/kb.c @@ -83,7 +83,7 @@ void KB_IRQHandler() // int keyNum; // Check port 0x64 to tell if this is from the aux port - if( inb(0x64) & 0x20 ) return; + //if( inb(0x64) & 0x20 ) return; scancode = inb(0x60); // Read from the keyboard's data buffer //Log_Debug("Keyboard", "scancode = %02x", scancode); @@ -183,6 +183,7 @@ void KB_IRQHandler() { switch(ch) { + case 'q': *((int*)1) = 0; break; case 'd': __asm__ __volatile__ ("xchg %bx, %bx"); break; case 'p': Threads_Dump(); break; }