[PATCH] powerpc: sanitize header files for user space includes
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-powerpc / udbg.h
blob6c8abc924b28aeb5b3f098033544b6d3a67dd14c
1 /*
2 * c 2001 PPC 64 Team, IBM Corp
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 */
10 #ifndef _ASM_POWERPC_UDBG_H
11 #define _ASM_POWERPC_UDBG_H
12 #ifdef __KERNEL__
14 #include <linux/compiler.h>
15 #include <linux/init.h>
17 extern void (*udbg_putc)(char c);
18 extern int (*udbg_getc)(void);
19 extern int (*udbg_getc_poll)(void);
21 extern void udbg_puts(const char *s);
22 extern int udbg_write(const char *s, int n);
23 extern int udbg_read(char *buf, int buflen);
25 extern void register_early_udbg_console(void);
26 extern void udbg_printf(const char *fmt, ...);
28 extern void udbg_init_uart(void __iomem *comport, unsigned int speed,
29 unsigned int clock);
30 extern unsigned int udbg_probe_uart_speed(void __iomem *comport,
31 unsigned int clock);
33 struct device_node;
34 extern void udbg_scc_init(int force_scc);
35 extern int udbg_adb_init(int force_btext);
36 extern void udbg_adb_init_early(void);
38 #endif /* __KERNEL__ */
39 #endif /* _ASM_POWERPC_UDBG_H */