- patches.rt/0001-sched-count-of-queued-RT-tasks.patch: Delete.
[linux-flexiantxendom0-3.2.10.git] / include / xen / xencons.h
1 #ifndef __ASM_XENCONS_H__
2 #define __ASM_XENCONS_H__
3
4 #ifdef CONFIG_XEN_PRIVILEGED_GUEST
5 struct dom0_vga_console_info;
6 void dom0_init_screen_info(const struct dom0_vga_console_info *, size_t);
7 #else
8 #define dom0_init_screen_info(info) ((void)(info))
9 #endif
10
11 #ifdef CONFIG_XEN_CONSOLE
12 void xencons_force_flush(void);
13 void xencons_resume(void);
14
15 /* Interrupt work hooks. Receive data, or kick data out. */
16 void xencons_rx(char *buf, unsigned len);
17 void xencons_tx(void);
18
19 int xencons_ring_init(void);
20 int xencons_ring_send(const char *data, unsigned len);
21 #else
22 static inline void xencons_force_flush(void) {}
23 static inline void xencons_resume(void) {}
24 #endif
25
26 #endif /* __ASM_XENCONS_H__ */