hvc-console.h 479 B

123456789101112131415161718
  1. #ifndef XEN_HVC_CONSOLE_H
  2. #define XEN_HVC_CONSOLE_H
  3. extern struct console xenboot_console;
  4. #ifdef CONFIG_HVC_XEN
  5. void xen_console_resume(void);
  6. void xen_raw_console_write(const char *str);
  7. __printf(1, 2)
  8. void xen_raw_printk(const char *fmt, ...);
  9. #else
  10. static inline void xen_console_resume(void) { }
  11. static inline void xen_raw_console_write(const char *str) { }
  12. static inline __printf(1, 2)
  13. void xen_raw_printk(const char *fmt, ...) { }
  14. #endif
  15. #endif /* XEN_HVC_CONSOLE_H */