diff options
author | Chen Gang <chengang@emindsoft.com.cn> | 2020-06-05 09:32:21 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-06-29 13:04:37 +0200 |
commit | e865b97ff4d924a81c28b9d9f3d6fe3e198bcdb9 (patch) | |
tree | a3af12ac4a3fb2abb1fc8535432c340e1f1e1151 /linux-user/syscall_types.h | |
parent | d43624c400597aec18dff917c1424b807bbb473d (diff) |
linux-user: syscall: ioctls: support DRM_IOCTL_VERSION
Another DRM_IOCTL_* commands will be done later.
Signed-off-by: Chen Gang <chengang@emindsoft.com.cn>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200605013221.22828-1-chengang@emindsoft.com.cn>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall_types.h')
-rw-r--r-- | linux-user/syscall_types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/linux-user/syscall_types.h b/linux-user/syscall_types.h index 4e12c1661e..e2b0484f50 100644 --- a/linux-user/syscall_types.h +++ b/linux-user/syscall_types.h @@ -292,6 +292,17 @@ STRUCT(dm_target_versions, STRUCT(dm_target_msg, TYPE_ULONGLONG) /* sector */ +STRUCT(drm_version, + TYPE_INT, /* version_major */ + TYPE_INT, /* version_minor */ + TYPE_INT, /* version_patchlevel */ + TYPE_ULONG, /* name_len */ + TYPE_PTRVOID, /* name */ + TYPE_ULONG, /* date_len */ + TYPE_PTRVOID, /* date */ + TYPE_ULONG, /* desc_len */ + TYPE_PTRVOID) /* desc */ + STRUCT(file_clone_range, TYPE_LONGLONG, /* src_fd */ TYPE_ULONGLONG, /* src_offset */ |