freebsd-skq/sys/dev/xen/console
Colin Percival eb68ccd676 A lack of console input is not the same thing as a byte of \0 input.
Correctly return -1 from cngetc when no input is available to be read.

This fixes the '(CTRL-C to abort)' spam while dumping.

MFC after:	3 days
2010-12-29 05:13:21 +00:00
..
console.c A lack of console input is not the same thing as a byte of \0 input. 2010-12-29 05:13:21 +00:00
xencons_ring.c don't acquire tty lock with console lock held 2009-05-11 23:03:15 +00:00
xencons_ring.h xen console lock needs to be a spin lock in case it is acquired from an interrupt context 2009-05-11 22:55:49 +00:00