1 #ifndef __XEN_CONSOLED_H__
2 #define __XEN_CONSOLED_H__
3 
4 #include <public/io/console.h>
5 
6 #ifdef CONFIG_PV_SHIM
7 
8 void consoled_set_ring_addr(struct xencons_interface *ring);
9 struct xencons_interface *consoled_get_ring_addr(void);
10 size_t consoled_guest_rx(void);
11 size_t consoled_guest_tx(char c);
12 
13 #else
14 
consoled_guest_tx(char c)15 size_t consoled_guest_tx(char c) { return 0; }
16 
17 #endif /* !CONFIG_PV_SHIM */
18 #endif /* __XEN_CONSOLED_H__ */
19 /*
20  * Local variables:
21  * mode: C
22  * c-file-style: "BSD"
23  * c-basic-offset: 4
24  * tab-width: 4
25  * indent-tabs-mode: nil
26  * End:
27  */
28