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_cons { 12 unsigned char vc_mode; /* KD_TEXT, ... */ 13 unsigned char vc_kbdraw; 14 unsigned char vc_kbde0; 15 unsigned char vc_kbdleds; 16 struct vt_mode vt_mode; 17 int vt_pid; 18 int vt_newvt; 19 } vt_cons[NR_CONSOLES]; 20 21 #endif /* _VT_KERN_H */