From: rsc Date: Tue, 28 Aug 2007 04:13:40 +0000 (+0000) Subject: oops X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=e6ffaa9d8eb4755e82cb7f4ebb47e70e7c8df42d;p=cs3210-lab1.git oops --- diff --git a/console.c b/console.c index b7fd56e..a6dfac2 100644 --- a/console.c +++ b/console.c @@ -7,7 +7,6 @@ #include "mmu.h" #include "proc.h" #include "x86.h" -#include "kbd.h" #define CRTPORT 0x3d4 #define LPTPORT 0x378 @@ -186,6 +185,8 @@ struct { int e; // Edit index } input; +#define C(x) ((x)-'@') // Control-x + void console_intr(int (*getc)(void)) {