summaryrefslogtreecommitdiffstats
path: root/hw/arm/boot.c
diff options
context:
space:
mode:
authorMax Filippov2018-04-05 02:30:41 +0200
committerMax Filippov2018-04-10 03:57:49 +0200
commit9ac225171c9d6b2a1cba35a94ae7eeaa0106cf7d (patch)
treee12d19b6f5c744c80813298ba5154fae4c83fe5f /hw/arm/boot.c
parentMerge remote-tracking branch 'remotes/xtensa/tags/20180402-xtensa' into staging (diff)
downloadqemu-9ac225171c9d6b2a1cba35a94ae7eeaa0106cf7d.tar.gz
qemu-9ac225171c9d6b2a1cba35a94ae7eeaa0106cf7d.tar.xz
qemu-9ac225171c9d6b2a1cba35a94ae7eeaa0106cf7d.zip
linux-user: fix preadv/pwritev offsets
preadv/pwritev accept low and high parts of file offset in two separate parameters. When host bitness doesn't match guest bitness these parts must be appropriately recombined. Introduce target_to_host_low_high that does this recombination and use it in preadv/pwritev syscalls. This fixes glibc testsuite test misc/tst-preadvwritev64. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'hw/arm/boot.c')
0 files changed, 0 insertions, 0 deletions