- fixed extern
- cleaned up git-svn-id: http://moon:8086/svn/mips@74 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
#include "../../uart.h"
|
||||
#include "../../console.h"
|
||||
|
||||
extern void dbg_init();
|
||||
extern void dbg_handler(struct xcptcontext * xcp);
|
||||
|
||||
extern uart_if_t uart_if[];
|
||||
extern ps2_if_t ps2_if[];
|
||||
extern vga_if_t vga_if;
|
||||
@@ -55,7 +58,7 @@ void board_init(void)
|
||||
|
||||
// Initalize debugger
|
||||
dbg_init();
|
||||
interrupt_register(2, debug_int);
|
||||
interrupt_register(2, dbg_handler);
|
||||
interrupt_enable(2);
|
||||
|
||||
// flush stdin
|
||||
|
||||
Reference in New Issue
Block a user