https://github.com/torvalds/linux
Raw File
Tip revision: 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 authored by Linus Torvalds on 13 June 2011, 22:29:59 UTC
Linux 3.0-rc3
Tip revision: 2c53b43
hvc-console.h
#ifndef XEN_HVC_CONSOLE_H
#define XEN_HVC_CONSOLE_H

extern struct console xenboot_console;

#ifdef CONFIG_HVC_XEN
void xen_console_resume(void);
void xen_raw_console_write(const char *str);
void xen_raw_printk(const char *fmt, ...);
#else
static inline void xen_console_resume(void) { }
static inline void xen_raw_console_write(const char *str) { }
static inline void xen_raw_printk(const char *fmt, ...) { }
#endif

#endif	/* XEN_HVC_CONSOLE_H */
back to top