blob: 47cebbd2b1b1b06e3d53d99c9dc3a41eb42b6db2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#define EOF (-1)
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
Paul Mackerrasfca5dcd2005-11-08 22:55:08 +11003#define printf xmon_printf
4#define putchar xmon_putchar
5
6extern int xmon_putchar(int c);
7extern int xmon_getchar(void);
8extern char *xmon_gets(char *, int);
9extern void xmon_printf(const char *, ...);
10extern void xmon_map_scc(void);
11extern int xmon_expect(const char *str, unsigned long timeout);
12extern int xmon_write(void *ptr, int nb);
13extern int xmon_readchar(void);
14extern int xmon_read_poll(void);