cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

hvc-console.h (518B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef XEN_HVC_CONSOLE_H
      3#define XEN_HVC_CONSOLE_H
      4
      5extern struct console xenboot_console;
      6
      7#ifdef CONFIG_HVC_XEN
      8void xen_console_resume(void);
      9void xen_raw_console_write(const char *str);
     10__printf(1, 2)
     11void xen_raw_printk(const char *fmt, ...);
     12#else
     13static inline void xen_console_resume(void) { }
     14static inline void xen_raw_console_write(const char *str) { }
     15static inline __printf(1, 2)
     16void xen_raw_printk(const char *fmt, ...) { }
     17#endif
     18
     19#endif	/* XEN_HVC_CONSOLE_H */