ia64/xen-unstable

view xen/include/xen/console.h @ 19543:81d6b5762c40

New option conring_size= to allow larger console ring.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Apr 14 14:52:27 2009 +0100 (2009-04-14)
parents d4dcd4d39952
children
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>
11 #include <xen/guest_access.h>
12 #include <public/xen.h>
14 struct xen_sysctl_readconsole;
15 long read_console_ring(struct xen_sysctl_readconsole *op);
17 void console_init_preirq(void);
18 void console_init_postirq(void);
19 void console_endboot(void);
20 int console_has(const char *device);
22 int fill_console_start_info(struct dom0_vga_console_info *);
24 void console_force_unlock(void);
25 void console_force_lock(void);
27 void console_start_sync(void);
28 void console_end_sync(void);
30 void console_start_log_everything(void);
31 void console_end_log_everything(void);
33 /*
34 * Steal output from the console. Returns +ve identifier, else -ve error.
35 * Takes the handle of the serial line to steal, and steal callback function.
36 */
37 int console_steal(int handle, void (*fn)(const char *));
39 /* Give back stolen console. Takes the identifier returned by console_steal. */
40 void console_giveback(int id);
42 int console_suspend(void);
43 int console_resume(void);
45 #endif /* __CONSOLE_H__ */