- fixed bootloader

git-svn-id: http://moon:8086/svn/mips@155 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2021-04-07 15:33:13 +00:00
parent 39ae59c4b5
commit ab8ccb1657
3 changed files with 10 additions and 32 deletions
+2 -10
View File
@@ -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;