summary refs log tree commit diff stats
path: root/hw/arm/boot.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-04-04 17:30:41 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-04-09 18:57:49 -0700
commit9ac225171c9d6b2a1cba35a94ae7eeaa0106cf7d (patch)
treee12d19b6f5c744c80813298ba5154fae4c83fe5f /hw/arm/boot.c
parent9abfc88af3ffd3b33c7fab4471da86462ee71d95 (diff)
downloadfocaccia-qemu-9ac225171c9d6b2a1cba35a94ae7eeaa0106cf7d.tar.gz
focaccia-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