- fixed bootloader denano

git-svn-id: http://moon:8086/svn/mips@157 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2021-04-07 15:47:28 +00:00
parent 5fda68acc2
commit 8121a08ede
-18
View File
@@ -13,24 +13,6 @@
#ifdef WITH_DEBUGGER
extern uart_if_t uart_if[];
#ifdef WITH_GDB_STUB
extern void handle_exception (unsigned long *registers);
#else
extern int dbg_handler(struct xcptcontext * xcp);
#endif
int dbg_stub(struct xcptcontext * xcp) __attribute__ ((section (".dbg_stub"))) __attribute__ ((used));
int dbg_stub(struct xcptcontext * xcp)
{
#ifdef WITH_GDB_STUB
handle_exception((unsigned long *)xcp);
return 0;
#else
return dbg_handler(xcp);
#endif
}
void dbg_putchar(char c)
{
if (c == 0x0A)