]>
Commit | Line | Data |
---|---|---|
b536b4b9 JF |
1 | #ifndef XEN_HVC_CONSOLE_H |
2 | #define XEN_HVC_CONSOLE_H | |
3 | ||
4 | extern struct console xenboot_console; | |
5 | ||
0261ac5f | 6 | #ifdef CONFIG_HVC_XEN |
6b9b732d | 7 | void xen_console_resume(void); |
9c8a4420 | 8 | void xen_raw_console_write(const char *str); |
b9075fa9 | 9 | __printf(1, 2) |
9c8a4420 | 10 | void xen_raw_printk(const char *fmt, ...); |
0261ac5f IM |
11 | #else |
12 | static inline void xen_console_resume(void) { } | |
9c8a4420 | 13 | static inline void xen_raw_console_write(const char *str) { } |
b9075fa9 | 14 | static inline __printf(1, 2) |
08b8bfc1 | 15 | void xen_raw_printk(const char *fmt, ...) { } |
0261ac5f | 16 | #endif |
6b9b732d | 17 | |
b536b4b9 | 18 | #endif /* XEN_HVC_CONSOLE_H */ |