Blame view

include/xen/hvc-console.h 518 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
b536b4b96   Jeremy Fitzhardinge   xen: use the hvc ...
2
3
4
5
  #ifndef XEN_HVC_CONSOLE_H
  #define XEN_HVC_CONSOLE_H
  
  extern struct console xenboot_console;
0261ac5f2   Ingo Molnar   xen: fix "xen: im...
6
  #ifdef CONFIG_HVC_XEN
6b9b732d0   Jeremy Fitzhardinge   xen-console: add ...
7
  void xen_console_resume(void);
9c8a44204   Ingo Molnar   xen64: fix !HVC_X...
8
  void xen_raw_console_write(const char *str);
b9075fa96   Joe Perches   treewide: use __p...
9
  __printf(1, 2)
9c8a44204   Ingo Molnar   xen64: fix !HVC_X...
10
  void xen_raw_printk(const char *fmt, ...);
0261ac5f2   Ingo Molnar   xen: fix "xen: im...
11
12
  #else
  static inline void xen_console_resume(void) { }
9c8a44204   Ingo Molnar   xen64: fix !HVC_X...
13
  static inline void xen_raw_console_write(const char *str) { }
b9075fa96   Joe Perches   treewide: use __p...
14
  static inline __printf(1, 2)
08b8bfc1c   Joe Perches   xen: Add __attrib...
15
  void xen_raw_printk(const char *fmt, ...) { }
0261ac5f2   Ingo Molnar   xen: fix "xen: im...
16
  #endif
6b9b732d0   Jeremy Fitzhardinge   xen-console: add ...
17

b536b4b96   Jeremy Fitzhardinge   xen: use the hvc ...
18
  #endif	/* XEN_HVC_CONSOLE_H */