- fixed bootloader
git-svn-id: http://moon:8086/svn/mips@155 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -12,20 +12,12 @@
|
||||
|
||||
extern uart_if_t uart_if[];
|
||||
|
||||
int gdb_stub(struct xcptcontext * xcp) __attribute__ ((section (".gdb")));
|
||||
|
||||
int gdb_stub(struct xcptcontext * xcp)
|
||||
{
|
||||
handle_exception((unsigned long *)xcp);
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline void _dbg_writechar(uart_if_t const *pUart, char c)
|
||||
void _dbg_writechar(uart_if_t const *pUart, char c)
|
||||
{
|
||||
UART_writechar(pUart, c);
|
||||
}
|
||||
|
||||
inline char _dbg_readchar(uart_if_t const *pUart)
|
||||
char _dbg_readchar(uart_if_t const *pUart)
|
||||
{
|
||||
int c;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user