- conditional inclusion of debugger

- improved linker script


git-svn-id: http://moon:8086/svn/mips@116 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-21 21:46:54 +00:00
parent c6962aef49
commit ff2b7a10c7
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -10,9 +10,9 @@
#include "../../../libsys/irq.h"
#include "../../../libsys/uart.h"
#ifdef WITH_DEBUGGER
extern uart_if_t uart_if[];
extern void handle_exception (unsigned long *registers);
extern int dbg_stub(struct xcptcontext * xcp) __attribute__ ((section (".dbg_stub"))) __attribute__ ((used));
int dbg_stub(struct xcptcontext * xcp)
@@ -48,6 +48,7 @@ char dbg_getchar()
return (char)c;
}
#endif
void board_init(void)
{