root/drivers/char/vt_kern.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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 /*
  12  * Presently, a lot of graphics programs do not restore the contents of
  13  * the higher font pages.  Defining this flag will avoid use of them, but
  14  * will lose support for PIO_FONTRESET.  Note that many font operations are
  15  * not likely to work with these programs anyway; they need to be
  16  * fixed.  The linux/Documentation directory includes a code snippet
  17  * to save and restore the text font.
  18  */
  19 #define BROKEN_GRAPHICS_PROGRAMS 1
  20 
  21 extern struct vt_struct {
  22         int vc_num;                             /* The console number */
  23         unsigned char   vc_mode;                /* KD_TEXT, ... */
  24         unsigned char   vc_kbdraw;
  25         unsigned char   vc_kbde0;
  26         unsigned char   vc_kbdleds;
  27         struct vt_mode  vt_mode;
  28         int             vt_pid;
  29         int             vt_newvt;
  30         struct wait_queue *paste_wait;
  31 } *vt_cons[MAX_NR_CONSOLES];
  32 
  33 void kd_mksound(unsigned int count, unsigned int ticks);
  34 int vc_allocate(unsigned int console);
  35 int vc_cons_allocated(unsigned int console);
  36 int vc_resize(unsigned long lines, unsigned long cols);
  37 void vc_disallocate(unsigned int console);
  38 
  39 #endif /* _VT_KERN_H */

/* [previous][next][first][last][top][bottom][index][help] */