Linux v2.6.13-rc3
[pohmelfs.git] / include / asm-ppc64 / udbg.h
bloba6e04d014b2b6bf9cdac8d7fd7e34dfc302b637f
1 #ifndef __UDBG_HDR
2 #define __UDBG_HDR
4 #include <linux/compiler.h>
6 /*
7 * c 2001 PPC 64 Team, IBM Corp
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version
12 * 2 of the License, or (at your option) any later version.
15 void udbg_init_uart(void __iomem *comport, unsigned int speed);
16 void udbg_putc(unsigned char c);
17 unsigned char udbg_getc(void);
18 int udbg_getc_poll(void);
19 void udbg_puts(const char *s);
20 int udbg_write(const char *s, int n);
21 int udbg_read(char *buf, int buflen);
22 struct console;
23 void udbg_console_write(struct console *con, const char *s, unsigned int n);
24 void udbg_printf(const char *fmt, ...);
25 void udbg_ppcdbg(unsigned long flags, const char *fmt, ...);
26 unsigned long udbg_ifdebug(unsigned long flags);
28 #endif