mm: fix XIP file writes
[linux-2.6/kmemtrace.git] / arch / powerpc / xmon / nonstdio.h
blob23dd95f4599c3fd049eb17be31990ca6b00d3732
1 #define EOF (-1)
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 void xmon_puts(const char *);
9 extern char *xmon_gets(char *, int);
10 extern void xmon_printf(const char *, ...);
11 extern void xmon_map_scc(void);
12 extern int xmon_expect(const char *str, unsigned long timeout);
13 extern int xmon_write(const void *ptr, int nb);
14 extern int xmon_readchar(void);
15 extern int xmon_read_poll(void);