diff options
Diffstat (limited to 'include/asm-powerpc/udbg.h')
| -rw-r--r-- | include/asm-powerpc/udbg.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/asm-powerpc/udbg.h b/include/asm-powerpc/udbg.h new file mode 100644 index 000000000000..a383383bc4d4 --- /dev/null +++ b/include/asm-powerpc/udbg.h | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | /* | ||
| 2 | * c 2001 PPC 64 Team, IBM Corp | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or | ||
| 5 | * modify it under the terms of the GNU General Public License | ||
| 6 | * as published by the Free Software Foundation; either version | ||
| 7 | * 2 of the License, or (at your option) any later version. | ||
| 8 | */ | ||
| 9 | |||
| 10 | #ifndef _ASM_POWERPC_UDBG_H | ||
| 11 | #define _ASM_POWERPC_UDBG_H | ||
| 12 | |||
| 13 | #include <linux/compiler.h> | ||
| 14 | #include <linux/init.h> | ||
| 15 | |||
| 16 | extern void (*udbg_putc)(unsigned char c); | ||
| 17 | extern unsigned char (*udbg_getc)(void); | ||
| 18 | extern int (*udbg_getc_poll)(void); | ||
| 19 | |||
| 20 | extern void udbg_puts(const char *s); | ||
| 21 | extern int udbg_write(const char *s, int n); | ||
| 22 | extern int udbg_read(char *buf, int buflen); | ||
| 23 | |||
| 24 | extern void register_early_udbg_console(void); | ||
| 25 | extern void udbg_printf(const char *fmt, ...); | ||
| 26 | |||
| 27 | extern void udbg_init_uart(void __iomem *comport, unsigned int speed); | ||
| 28 | |||
| 29 | struct device_node; | ||
| 30 | extern void udbg_init_scc(struct device_node *np); | ||
| 31 | #endif /* _ASM_POWERPC_UDBG_H */ | ||
