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)) {