2005-04-17 06:20:36 +08:00
|
|
|
#define EOF (-1)
|
2005-11-08 19:55:08 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#define printf xmon_printf
|
|
|
|
#define putchar xmon_putchar
|
|
|
|
|
2005-11-08 19:55:08 +08:00
|
|
|
extern int xmon_putchar(int c);
|
|
|
|
extern int xmon_getchar(void);
|
2007-07-18 17:26:40 +08:00
|
|
|
extern void xmon_puts(const char *);
|
2005-11-08 19:55:08 +08:00
|
|
|
extern char *xmon_gets(char *, int);
|
|
|
|
extern void xmon_printf(const char *, ...);
|
|
|
|
extern void xmon_map_scc(void);
|
|
|
|
extern int xmon_expect(const char *str, unsigned long timeout);
|
2007-07-18 17:30:29 +08:00
|
|
|
extern int xmon_write(const void *ptr, int nb);
|
2005-11-08 19:55:08 +08:00
|
|
|
extern int xmon_readchar(void);
|
|
|
|
extern int xmon_read_poll(void);
|