aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/serial.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-05 14:05:20 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-05 14:05:20 +0000
commit01fd68a4ee58965ae8e45366010c69688914d6a5 (patch)
tree8d1ee8ba78364b2e1aac31d0994d124cd20c08ff /xen/include/xen/serial.h
parent6eda19e5e481f601c5d9b70d0c278672293208a9 (diff)
downloadxen-01fd68a4ee58965ae8e45366010c69688914d6a5.tar.gz
xen-01fd68a4ee58965ae8e45366010c69688914d6a5.tar.bz2
xen-01fd68a4ee58965ae8e45366010c69688914d6a5.zip
bitkeeper revision 1.1676 (42a306a07UKpLq27_iCaJyxJBbKedg)
More console cleanups. The console ring now overwrites its tail when it fills, rather than stop recording output. The guest serial output is only allowed to half-fill the serial output buffer, and now respects hypercall preemption requests. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/serial.h')
-rw-r--r--xen/include/xen/serial.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/xen/serial.h b/xen/include/xen/serial.h
index 9a1dd60cf4..8d5f246ab2 100644
--- a/xen/include/xen/serial.h
+++ b/xen/include/xen/serial.h
@@ -96,6 +96,9 @@ void serial_force_unlock(int handle);
void serial_start_sync(int handle);
void serial_end_sync(int handle);
+/* Return number of bytes headroom in transmit buffer. */
+int serial_tx_space(int handle);
+
/*
* Initialisation and helper functions for uart drivers.
*/