Jeremy Fitzhardinge | b536b4b | 2007-07-17 18:37:06 -0700 | [diff] [blame] | 1 | #ifndef XEN_HVC_CONSOLE_H |
| 2 | #define XEN_HVC_CONSOLE_H |
| 3 | |
| 4 | extern struct console xenboot_console; |
| 5 | |
Ingo Molnar | 0261ac5 | 2008-05-29 09:31:50 +0200 | [diff] [blame] | 6 | #ifdef CONFIG_HVC_XEN |
Jeremy Fitzhardinge | 6b9b732 | 2008-05-26 23:31:25 +0100 | [diff] [blame] | 7 | void xen_console_resume(void); |
Jeremy Fitzhardinge | 0acf10d | 2008-05-26 23:30:59 +0100 | [diff] [blame] | 8 | void xen_raw_console_write(const char *str); |
| 9 | void xen_raw_printk(const char *fmt, ...); |
Ingo Molnar | 9c8a442 | 2008-07-09 13:15:03 +0200 | [diff] [blame] | 10 | #else |
| 11 | static inline void xen_console_resume(void) { } |
| 12 | static inline void xen_raw_console_write(const char *str) { } |
| 13 | static inline void xen_raw_printk(const char *fmt, ...) { } |
| 14 | #endif |
Jeremy Fitzhardinge | 0acf10d | 2008-05-26 23:30:59 +0100 | [diff] [blame] | 15 | |
Jeremy Fitzhardinge | b536b4b | 2007-07-17 18:37:06 -0700 | [diff] [blame] | 16 | #endif /* XEN_HVC_CONSOLE_H */ |