1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #define EOF (-1) 3 4 #define printf xmon_printf 5 #define putchar xmon_putchar 6 7 extern void xmon_set_pagination_lpp(unsigned long lpp); 8 extern void xmon_start_pagination(void); 9 extern void xmon_end_pagination(void); 10 extern int xmon_putchar(int c); 11 extern void xmon_puts(const char *); 12 extern char *xmon_gets(char *, int); 13 extern void xmon_printf(const char *, ...); 14