ia64/xen-unstable

view xen/include/xen/console.h @ 3884:8406b26684e2

bitkeeper revision 1.1230.2.2 (421a8798mvsMIGmWCHsDOB-iq7xzGg)

Bring back the console_{putc,getc} set of functions, which
export access to the console without exporting the sercon_handle.
Signed-off-by: chris@xensource.com
author cl349@arcadians.cl.cam.ac.uk
date Tue Feb 22 01:15:04 2005 +0000 (2005-02-22)
parents 33647e6b3f4e
children ff8c9a2be5f7
line source
1 /******************************************************************************
2 * xen/console.h
3 *
4 * Xen header file concerning console access.
5 */
7 #ifndef __CONSOLE_H__
8 #define __CONSOLE_H__
10 #include <xen/spinlock.h>
12 extern spinlock_t console_lock;
14 void set_printk_prefix(const char *prefix);
16 #define CONSOLE_RING_CLEAR 1
17 long read_console_ring(unsigned long, unsigned int, unsigned int);
19 void init_console(void);
20 void console_endboot(int disable_vga);
22 void console_force_unlock(void);
23 void console_force_lock(void);
25 void console_putc(char c);
26 int console_getc(void);
27 int irq_console_getc(void);
29 #endif /* __CONSOLE_H__ */