Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #define EOF (-1) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | |
Paul Mackerras | fca5dcd | 2005-11-08 22:55:08 +1100 | [diff] [blame] | 3 | #define printf xmon_printf |
| 4 | #define putchar xmon_putchar |
| 5 | |
| 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); |