diff options
author | rsc <rsc> | 2007-08-28 03:28:13 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-28 03:28:13 +0000 |
commit | f0d11fea8251ef959cf1197b62e523922855df3a (patch) | |
tree | c1ac5b50ec8cffb2e46636a6b5569f758dcaf8ae /defs.h | |
parent | c1bfbfa2f7b995ee38ef138ca3250274213dc010 (diff) | |
download | xv6-labs-f0d11fea8251ef959cf1197b62e523922855df3a.tar.gz xv6-labs-f0d11fea8251ef959cf1197b62e523922855df3a.tar.bz2 xv6-labs-f0d11fea8251ef959cf1197b62e523922855df3a.zip |
Move keyboard code into kbd.c; add backspace handling.
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -19,7 +19,7 @@ void bwrite(struct buf*); // console.c void console_init(void); void cprintf(char*, ...); -void kbd_intr(void); +void console_intr(int(*)(void)); void panic(char*) __attribute__((noreturn)); // exec.c @@ -67,6 +67,9 @@ char* kalloc(int); void kfree(char*, int); void kinit(void); +// kbd.c +void kbd_intr(void); + // lapic.c int cpu(void); extern volatile uint* lapic; |