- include syscalls.h
git-svn-id: http://moon:8086/svn/mips@159 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "../../uart.h"
|
||||
#include "../../console.h"
|
||||
#include "../../asm/regdef.h"
|
||||
#include "../../syscalls.h"
|
||||
|
||||
extern uart_if_t uart_if[];
|
||||
|
||||
@@ -67,7 +68,7 @@ void dbg_uart_isr(struct xcptcontext *xcp)
|
||||
|
||||
void dbg_uart_setup()
|
||||
{
|
||||
const int UART_INT = SYS_INT_UART1;
|
||||
const#include "../../syscalls.h" int UART_INT = SYS_INT_UART1;
|
||||
*uart_if[UART_DEBUGGER].pCTRL = SYS_UART_BIT_RX_INTEN;
|
||||
interrupt_register(UART_INT, dbg_uart_isr);
|
||||
interrupt_enable(UART_INT);
|
||||
|
||||
Reference in New Issue
Block a user