xencons_ring.h revision 181643
1/* 2 * $FreeBSD: head/sys/dev/xen/console/xencons_ring.h 181643 2008-08-12 20:01:57Z kmacy $ 3 * 4 */ 5#ifndef _XENCONS_RING_H 6#define _XENCONS_RING_H 7 8int xencons_ring_init(void); 9int xencons_ring_send(const char *data, unsigned len); 10void xencons_rx(char *buf, unsigned len); 11void xencons_tx(void); 12 13 14typedef void (xencons_receiver_func)(char *buf, unsigned len); 15void xencons_ring_register_receiver(xencons_receiver_func *f); 16 17void xencons_handle_input(void *unused); 18int xencons_has_input(void); 19 20#endif /* _XENCONS_RING_H */ 21