blob: 23dd95f4599c3fd049eb17be31990ca6b00d3732 [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);
Ishizaki Kou4d404ed2007-07-18 19:26:40 +10008extern void xmon_puts(const char *);
Paul Mackerrasfca5dcd2005-11-08 22:55:08 +11009extern char *xmon_gets(char *, int);
10extern void xmon_printf(const char *, ...);
11extern void xmon_map_scc(void);
12extern int xmon_expect(const char *str, unsigned long timeout);
Ishizaki Kou776568d2007-07-18 19:30:29 +100013extern int xmon_write(const void *ptr, int nb);
Paul Mackerrasfca5dcd2005-11-08 22:55:08 +110014extern int xmon_readchar(void);
15extern int xmon_read_poll(void);