[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] console.c:



ChangeSet 1.1594, 2005/05/30 16:36:11+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        console.c:
          Bring back console_{getc,putc}.
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 console.c |   10 ++++++++++
 1 files changed, 10 insertions(+)


diff -Nru a/xen/drivers/char/console.c b/xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        2005-05-30 13:03:02 -04:00
+++ b/xen/drivers/char/console.c        2005-05-30 13:03:02 -04:00
@@ -465,6 +465,16 @@
     spin_lock(&console_lock);
 }
 
+void console_putc(char c)
+{
+    serial_putc(sercon_handle, c);
+}
+
+int console_getc(void)
+{
+    return serial_getc(sercon_handle);
+}
+
 
 /*
  * **************************************************************

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.