summaryrefslogtreecommitdiff
path: root/linux-user/syscall_types.h
diff options
context:
space:
mode:
authorCédric VINCENT <cedric.vincent@st.com>2011-06-29 15:09:10 +0200
committerRiku Voipio <riku.voipio@linaro.org>2011-07-11 16:10:49 +0300
commit774750c088192112df1623610dc35d9e03983d49 (patch)
tree48ccbd3f7fd67eb2d0e408a4b522e2a3b9d7ddd9 /linux-user/syscall_types.h
parente6fe18fb318cb399623246e2561581442ffc0372 (diff)
downloadqemu-774750c088192112df1623610dc35d9e03983d49.tar.gz
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/syscall_types.h')
-rw-r--r--linux-user/syscall_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux-user/syscall_types.h b/linux-user/syscall_types.h
index 0e67cd8f30..94b0ce0f56 100644
--- a/linux-user/syscall_types.h
+++ b/linux-user/syscall_types.h
@@ -166,6 +166,13 @@ STRUCT(vt_stat,
TYPE_SHORT, /* v_signal */
TYPE_SHORT) /* v_state */
+STRUCT(vt_mode,
+ TYPE_CHAR, /* mode */
+ TYPE_CHAR, /* waitv */
+ TYPE_SHORT, /* relsig */
+ TYPE_SHORT, /* acqsig */
+ TYPE_SHORT) /* frsig */
+
STRUCT(fiemap_extent,
TYPE_ULONGLONG, /* fe_logical */
TYPE_ULONGLONG, /* fe_physical */