Move keyboard code into kbd.c; add backspace handling.
This commit is contained in:
parent
c1bfbfa2f7
commit
f0d11fea82
4 changed files with 210 additions and 175 deletions
5
defs.h
5
defs.h
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue