1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _LINUX_VT_H
13#define _LINUX_VT_H
14
15#define MIN_NR_CONSOLES 1
16#define MAX_NR_CONSOLES 63
17#define MAX_NR_USER_CONSOLES 63
18
19#define VT_OPENQRY 0x5600
20
21struct vt_mode {
22 char mode;
23 char waitv;
24 short relsig;
25 short acqsig;
26 short frsig;
27};
28#define VT_GETMODE 0x5601
29#define VT_SETMODE 0x5602
30#define VT_AUTO 0x00
31#define VT_PROCESS 0x01
32#define VT_ACKACQ 0x02
33
34struct vt_stat {
35 unsigned short v_active;
36 unsigned short v_signal;
37 unsigned short v_state;
38};
39#define VT_GETSTATE 0x5603
40#define VT_SENDSIG 0x5604
41
42#define VT_RELDISP 0x5605
43
44#define VT_ACTIVATE 0x5606
45#define VT_WAITACTIVE 0x5607
46#define VT_DISALLOCATE 0x5608
47
48struct vt_sizes {
49 unsigned short v_rows;
50 unsigned short v_cols;
51 unsigned short v_scrollsize;
52};
53#define VT_RESIZE 0x5609
54
55struct vt_consize {
56 unsigned short v_rows;
57 unsigned short v_cols;
58 unsigned short v_vlin;
59 unsigned short v_clin;
60 unsigned short v_vcol;
61 unsigned short v_ccol;
62};
63#define VT_RESIZEX 0x560A
64#define VT_LOCKSWITCH 0x560B
65#define VT_UNLOCKSWITCH 0x560C
66#define VT_GETHIFONTMASK 0x560D
67
68#endif
69