diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-02-21 11:47:28 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-02-21 11:47:28 +0000 |
commit | 9bd9d5e3573ea0465b8eb5700e867674054d27f3 (patch) | |
tree | bf6a3d41697b14986a0b690d9ad0aec868e5f236 /linux-user/syscall_types.h | |
parent | 774d566cdbebb916af9760dac629aa7c1adf9d3d (diff) | |
parent | 69d4c703a549f0630793a67b16a8fc6bc14c8654 (diff) | |
download | hqemu-9bd9d5e3573ea0465b8eb5700e867674054d27f3.zip hqemu-9bd9d5e3573ea0465b8eb5700e867674054d27f3.tar.gz |
Merge remote-tracking branch 'remotes/riku/linux-user-for-upstream' into staging
* remotes/riku/linux-user-for-upstream:
linux-user: Fix error handling in target_to_host_semarray()
linux-user: Implement BLKPG ioctl
linux-user: Fix error handling in lock_iovec()
linux-user/signal.c: Don't pass sigaction uninitialised sa_flags
linux-user/elfload.c: Avoid calling g_free() on uninitialized data
linux-user: sync syscall numbers upto 3.13
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/syscall_types.h')
-rw-r--r-- | linux-user/syscall_types.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/linux-user/syscall_types.h b/linux-user/syscall_types.h index 44b6a58..9d0c92d 100644 --- a/linux-user/syscall_types.h +++ b/linux-user/syscall_types.h @@ -240,3 +240,16 @@ STRUCT(fiemap, TYPE_INT, /* fm_mapped_extents */ TYPE_INT, /* fm_extent_count */ TYPE_INT) /* fm_reserved */ + +STRUCT(blkpg_partition, + TYPE_LONGLONG, /* start */ + TYPE_LONGLONG, /* length */ + TYPE_INT, /* pno */ + MK_ARRAY(TYPE_CHAR, BLKPG_DEVNAMELTH), /* devname */ + MK_ARRAY(TYPE_CHAR, BLKPG_VOLNAMELTH)) /* volname */ + +STRUCT(blkpg_ioctl_arg, + TYPE_INT, /* op */ + TYPE_INT, /* flags */ + TYPE_INT, /* datalen */ + MK_PTR(MK_STRUCT(STRUCT_blkpg_partition))) /* data */ |