diff options
| author | Alan Cox <alan@linux.intel.com> | 2009-09-19 16:13:26 -0400 |
|---|---|---|
| committer | Live-CD User <linux@linux.site> | 2009-09-19 16:13:26 -0400 |
| commit | d3b5cffcf84a8bdc7073dce4745d67c72629af85 (patch) | |
| tree | dfcaa9dbc59b3f17160624803f54711db1d9786f /include/linux | |
| parent | a5eb56242d1e2d82938a066219ac1cdf0d68adc8 (diff) | |
vt: add an activate and lock
X and other graphical interfaces need to be able to flip to a console
and lock it into graphics mode without races.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/vt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/vt.h b/include/linux/vt.h index 831daf64b90c..7afca0d72139 100644 --- a/include/linux/vt.h +++ b/include/linux/vt.h | |||
| @@ -77,4 +77,11 @@ struct vt_event { | |||
| 77 | 77 | ||
| 78 | #define VT_WAITEVENT 0x560E /* Wait for an event */ | 78 | #define VT_WAITEVENT 0x560E /* Wait for an event */ |
| 79 | 79 | ||
| 80 | struct vt_setactivate { | ||
| 81 | unsigned int console; | ||
| 82 | struct vt_mode mode; | ||
| 83 | }; | ||
| 84 | |||
| 85 | #define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */ | ||
| 86 | |||
| 80 | #endif /* _LINUX_VT_H */ | 87 | #endif /* _LINUX_VT_H */ |
