ia64/xen-unstable

changeset 5204:8f3eca37b4b3

bitkeeper revision 1.1594 (429b32ebzaQqk1iPvkQPHa7u9hft-g)

console.c:
Bring back console_{getc,putc}.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Mon May 30 15:36:11 2005 +0000 (2005-05-30)
parents a83e6617ca74
children ed4deaf4a0cc
files xen/drivers/char/console.c
line diff
     1.1 --- a/xen/drivers/char/console.c	Mon May 30 10:35:55 2005 +0000
     1.2 +++ b/xen/drivers/char/console.c	Mon May 30 15:36:11 2005 +0000
     1.3 @@ -465,6 +465,16 @@ void console_force_lock(void)
     1.4      spin_lock(&console_lock);
     1.5  }
     1.6  
     1.7 +void console_putc(char c)
     1.8 +{
     1.9 +    serial_putc(sercon_handle, c);
    1.10 +}
    1.11 +
    1.12 +int console_getc(void)
    1.13 +{
    1.14 +    return serial_getc(sercon_handle);
    1.15 +}
    1.16 +
    1.17  
    1.18  /*
    1.19   * **************************************************************