diff options
author | Cédric VINCENT <cedric.vincent@st.com> | 2011-06-29 15:09:10 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2011-07-11 16:10:49 +0300 |
commit | 774750c088192112df1623610dc35d9e03983d49 (patch) | |
tree | 48ccbd3f7fd67eb2d0e408a4b522e2a3b9d7ddd9 /linux-user/ioctls.h | |
parent | e6fe18fb318cb399623246e2561581442ffc0372 (diff) |
linux-user: Add support for more VT ioctls
DirectFB-1.0 uses at least two of the four added ioctls, and the two
others were added for completeness. This patch was validated with the
program "vlock -all/-new".
Signed-off-by: Cédric VINCENT <cedric.vincent@st.com>
Cc: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/ioctls.h')
-rw-r--r-- | linux-user/ioctls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h index 68418e425c..7bc1c48207 100644 --- a/linux-user/ioctls.h +++ b/linux-user/ioctls.h @@ -336,3 +336,7 @@ IOCTL(VT_WAITACTIVE, 0, TYPE_INT) IOCTL(VT_LOCKSWITCH, 0, TYPE_INT) IOCTL(VT_UNLOCKSWITCH, 0, TYPE_INT) + IOCTL(VT_GETMODE, IOC_RW, MK_PTR(MK_STRUCT(STRUCT_vt_mode))) + IOCTL(VT_SETMODE, IOC_RW, MK_PTR(MK_STRUCT(STRUCT_vt_mode))) + IOCTL(VT_RELDISP, 0, TYPE_INT) + IOCTL(VT_DISALLOCATE, 0, TYPE_INT) |