This commit is contained in:
rsc 2007-08-28 04:13:40 +00:00
parent 3341e30f6e
commit e6ffaa9d8e

View file

@ -7,7 +7,6 @@
#include "mmu.h" #include "mmu.h"
#include "proc.h" #include "proc.h"
#include "x86.h" #include "x86.h"
#include "kbd.h"
#define CRTPORT 0x3d4 #define CRTPORT 0x3d4
#define LPTPORT 0x378 #define LPTPORT 0x378
@ -186,6 +185,8 @@ struct {
int e; // Edit index int e; // Edit index
} input; } input;
#define C(x) ((x)-'@') // Control-x
void void
console_intr(int (*getc)(void)) console_intr(int (*getc)(void))
{ {