Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef XEN_HVC_CONSOLE_H
0003 #define XEN_HVC_CONSOLE_H
0004 
0005 extern struct console xenboot_console;
0006 
0007 #ifdef CONFIG_HVC_XEN
0008 void xen_console_resume(void);
0009 void xen_raw_console_write(const char *str);
0010 __printf(1, 2)
0011 void xen_raw_printk(const char *fmt, ...);
0012 #else
0013 static inline void xen_console_resume(void) { }
0014 static inline void xen_raw_console_write(const char *str) { }
0015 static inline __printf(1, 2)
0016 void xen_raw_printk(const char *fmt, ...) { }
0017 #endif
0018 
0019 #endif  /* XEN_HVC_CONSOLE_H */