3 #define printf xmon_printf
4 #define putchar xmon_putchar
6 extern int xmon_putchar(int c);
7 extern int xmon_getchar(void);
8 extern char *xmon_gets(char *, int);
9 extern void xmon_printf(const char *, ...);
10 extern void xmon_map_scc(void);
11 extern int xmon_expect(const char *str, unsigned long timeout);
12 extern int xmon_write(void *ptr, int nb);
13 extern int xmon_readchar(void);
14 extern int xmon_read_poll(void);