freebsd-nq/sys/dev/xen/console/xencons_ring.h
Kip Macy 89e0f4d24c Import Xen paravirtual drivers.
MFC after:	2 weeks
2008-08-12 20:01:57 +00:00

21 lines
450 B
C

/*
* $FreeBSD$
*
*/
#ifndef _XENCONS_RING_H
#define _XENCONS_RING_H
int xencons_ring_init(void);
int xencons_ring_send(const char *data, unsigned len);
void xencons_rx(char *buf, unsigned len);
void xencons_tx(void);
typedef void (xencons_receiver_func)(char *buf, unsigned len);
void xencons_ring_register_receiver(xencons_receiver_func *f);
void xencons_handle_input(void *unused);
int xencons_has_input(void);
#endif /* _XENCONS_RING_H */