1 #ifndef _VT_KERN_H
2 #define _VT_KERN_H
3
4 /*
5 * this really is an extension of the vc_cons structure in console.c, but
6 * with information needed by the vt package
7 */
8
9 #include <linux/vt.h>
10
11 extern struct vt_struct {
12 int vc_num; /* The console number */
13 unsigned char vc_mode; /* KD_TEXT, ... */
14 unsigned char vc_kbdraw;
15 unsigned char vc_kbde0;
16 unsigned char vc_kbdleds;
17 struct vt_mode vt_mode;
18 int vt_pid;
19 int vt_newvt;
20 struct wait_queue *paste_wait;
21 } vt_cons[NR_CONSOLES];
22
23 void kd_mksound(unsigned int count, unsigned int ticks);
24
25 #endif /* _VT_KERN_H */