blob: c3adde32669b49f958b816a5b3b6e757b25a078e [file] [log] [blame]
Jeremy Fitzhardingeb536b4b2007-07-17 18:37:06 -07001#ifndef XEN_HVC_CONSOLE_H
2#define XEN_HVC_CONSOLE_H
3
4extern struct console xenboot_console;
5
Ingo Molnar0261ac52008-05-29 09:31:50 +02006#ifdef CONFIG_HVC_XEN
Jeremy Fitzhardinge6b9b7322008-05-26 23:31:25 +01007void xen_console_resume(void);
Jeremy Fitzhardinge0acf10d2008-05-26 23:30:59 +01008void xen_raw_console_write(const char *str);
9void xen_raw_printk(const char *fmt, ...);
Ingo Molnar9c8a4422008-07-09 13:15:03 +020010#else
11static inline void xen_console_resume(void) { }
12static inline void xen_raw_console_write(const char *str) { }
13static inline void xen_raw_printk(const char *fmt, ...) { }
14#endif
Jeremy Fitzhardinge0acf10d2008-05-26 23:30:59 +010015
Jeremy Fitzhardingeb536b4b2007-07-17 18:37:06 -070016#endif /* XEN_HVC_CONSOLE_H */