From e6ffaa9d8eb4755e82cb7f4ebb47e70e7c8df42d Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Aug 2007 04:13:40 +0000 Subject: [PATCH] oops --- console.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) {