oops
This commit is contained in:
parent
3341e30f6e
commit
e6ffaa9d8e
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue