Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
vt.h File Reference

Go to the source code of this file.

Data Structures

struct  vt_mode
 
struct  vt_stat
 
struct  vt_sizes
 
struct  vt_consize
 
struct  vt_event
 
struct  vt_setactivate
 

Macros

#define MIN_NR_CONSOLES   1 /* must be at least 1 */
 
#define MAX_NR_CONSOLES   63 /* serial lines start at 64 */
 
#define MAX_NR_USER_CONSOLES   63 /* must be root to allocate above this */
 
#define VT_OPENQRY   0x5600 /* find available vt */
 
#define VT_GETMODE   0x5601 /* get mode of active vt */
 
#define VT_SETMODE   0x5602 /* set mode of active vt */
 
#define VT_AUTO   0x00 /* auto vt switching */
 
#define VT_PROCESS   0x01 /* process controls switching */
 
#define VT_ACKACQ   0x02 /* acknowledge switch */
 
#define VT_GETSTATE   0x5603 /* get global vt state info */
 
#define VT_SENDSIG   0x5604 /* signal to send to bitmask of vts */
 
#define VT_RELDISP   0x5605 /* release display */
 
#define VT_ACTIVATE   0x5606 /* make vt active */
 
#define VT_WAITACTIVE   0x5607 /* wait for vt active */
 
#define VT_DISALLOCATE   0x5608 /* free memory associated to vt */
 
#define VT_RESIZE   0x5609 /* set kernel's idea of screensize */
 
#define VT_RESIZEX   0x560A /* set kernel's idea of screensize + more */
 
#define VT_LOCKSWITCH   0x560B /* disallow vt switching */
 
#define VT_UNLOCKSWITCH   0x560C /* allow vt switching */
 
#define VT_GETHIFONTMASK   0x560D /* return hi font mask */
 
#define VT_EVENT_SWITCH   0x0001 /* Console switch */
 
#define VT_EVENT_BLANK   0x0002 /* Screen blank */
 
#define VT_EVENT_UNBLANK   0x0004 /* Screen unblank */
 
#define VT_EVENT_RESIZE   0x0008 /* Resize display */
 
#define VT_MAX_EVENT   0x000F
 
#define VT_WAITEVENT   0x560E /* Wait for an event */
 
#define VT_SETACTIVATE   0x560F /* Activate and set the mode of a console */
 
#define vt_get_kmsg_redirect()   vt_kmsg_redirect(-1)
 

Macro Definition Documentation

#define MAX_NR_CONSOLES   63 /* serial lines start at 64 */

Definition at line 10 of file vt.h.

#define MAX_NR_USER_CONSOLES   63 /* must be root to allocate above this */

Definition at line 11 of file vt.h.

#define MIN_NR_CONSOLES   1 /* must be at least 1 */

Definition at line 9 of file vt.h.

#define VT_ACKACQ   0x02 /* acknowledge switch */

Definition at line 30 of file vt.h.

#define VT_ACTIVATE   0x5606 /* make vt active */

Definition at line 42 of file vt.h.

#define VT_AUTO   0x00 /* auto vt switching */

Definition at line 28 of file vt.h.

#define VT_DISALLOCATE   0x5608 /* free memory associated to vt */

Definition at line 44 of file vt.h.

#define VT_EVENT_BLANK   0x0002 /* Screen blank */

Definition at line 69 of file vt.h.

#define VT_EVENT_RESIZE   0x0008 /* Resize display */

Definition at line 71 of file vt.h.

#define VT_EVENT_SWITCH   0x0001 /* Console switch */

Definition at line 68 of file vt.h.

#define VT_EVENT_UNBLANK   0x0004 /* Screen unblank */

Definition at line 70 of file vt.h.

#define vt_get_kmsg_redirect ( )    vt_kmsg_redirect(-1)

Definition at line 88 of file vt.h.

#define VT_GETHIFONTMASK   0x560D /* return hi font mask */

Definition at line 64 of file vt.h.

#define VT_GETMODE   0x5601 /* get mode of active vt */

Definition at line 26 of file vt.h.

#define VT_GETSTATE   0x5603 /* get global vt state info */

Definition at line 37 of file vt.h.

#define VT_LOCKSWITCH   0x560B /* disallow vt switching */

Definition at line 62 of file vt.h.

#define VT_MAX_EVENT   0x000F

Definition at line 72 of file vt.h.

#define VT_OPENQRY   0x5600 /* find available vt */

Definition at line 17 of file vt.h.

#define VT_PROCESS   0x01 /* process controls switching */

Definition at line 29 of file vt.h.

#define VT_RELDISP   0x5605 /* release display */

Definition at line 40 of file vt.h.

#define VT_RESIZE   0x5609 /* set kernel's idea of screensize */

Definition at line 51 of file vt.h.

#define VT_RESIZEX   0x560A /* set kernel's idea of screensize + more */

Definition at line 61 of file vt.h.

#define VT_SENDSIG   0x5604 /* signal to send to bitmask of vts */

Definition at line 38 of file vt.h.

#define VT_SETACTIVATE   0x560F /* Activate and set the mode of a console */

Definition at line 85 of file vt.h.

#define VT_SETMODE   0x5602 /* set mode of active vt */

Definition at line 27 of file vt.h.

#define VT_UNLOCKSWITCH   0x560C /* allow vt switching */

Definition at line 63 of file vt.h.

#define VT_WAITACTIVE   0x5607 /* wait for vt active */

Definition at line 43 of file vt.h.

#define VT_WAITEVENT   0x560E /* Wait for an event */

Definition at line 78 of file vt.h.