diff options
Diffstat (limited to 'include/linux/vt.h')
| -rw-r--r-- | include/linux/vt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/vt.h b/include/linux/vt.h index 9f95b0bea5b3..ba806e8711be 100644 --- a/include/linux/vt.h +++ b/include/linux/vt.h | |||
| @@ -1,6 +1,16 @@ | |||
| 1 | #ifndef _LINUX_VT_H | 1 | #ifndef _LINUX_VT_H |
| 2 | #define _LINUX_VT_H | 2 | #define _LINUX_VT_H |
| 3 | 3 | ||
| 4 | /* | ||
| 5 | * These constants are also useful for user-level apps (e.g., VC | ||
| 6 | * resizing). | ||
| 7 | */ | ||
| 8 | #define MIN_NR_CONSOLES 1 /* must be at least 1 */ | ||
| 9 | #define MAX_NR_CONSOLES 63 /* serial lines start at 64 */ | ||
| 10 | #define MAX_NR_USER_CONSOLES 63 /* must be root to allocate above this */ | ||
| 11 | /* Note: the ioctl VT_GETSTATE does not work for | ||
| 12 | consoles 16 and higher (since it returns a short) */ | ||
| 13 | |||
| 4 | /* 0x56 is 'V', to avoid collision with termios and kd */ | 14 | /* 0x56 is 'V', to avoid collision with termios and kd */ |
| 5 | 15 | ||
| 6 | #define VT_OPENQRY 0x5600 /* find available vt */ | 16 | #define VT_OPENQRY 0x5600 /* find available vt */ |
| @@ -50,5 +60,6 @@ struct vt_consize { | |||
| 50 | #define VT_RESIZEX 0x560A /* set kernel's idea of screensize + more */ | 60 | #define VT_RESIZEX 0x560A /* set kernel's idea of screensize + more */ |
| 51 | #define VT_LOCKSWITCH 0x560B /* disallow vt switching */ | 61 | #define VT_LOCKSWITCH 0x560B /* disallow vt switching */ |
| 52 | #define VT_UNLOCKSWITCH 0x560C /* allow vt switching */ | 62 | #define VT_UNLOCKSWITCH 0x560C /* allow vt switching */ |
| 63 | #define VT_GETHIFONTMASK 0x560D /* return hi font mask */ | ||
| 53 | 64 | ||
| 54 | #endif /* _LINUX_VT_H */ | 65 | #endif /* _LINUX_VT_H */ |
