]> git.proxmox.com Git - qemu.git/commit - linux-user/syscall.c
linux-user: register align p{read, write}64
authorAlexander Graf <agraf@suse.de>
Sat, 29 Sep 2012 15:32:39 +0000 (15:32 +0000)
committerRiku Voipio <riku.voipio@linaro.org>
Fri, 12 Oct 2012 11:42:52 +0000 (14:42 +0300)
commitae017a5b95962f68ece21065376cd3266998fd02
treea61968bc6e82aefb7ee98d152d795ef4111d099a
parent4a1def4e4ec2f0eb72b15596a04a030cdc889370
linux-user: register align p{read, write}64

pread64 and pwrite64 pass 64bit parameters which for some architectures need
to be aligned to special argument pairs, creating a gap argument.

Handle this special case the same way we handle it in other places of the code.

Reported-by: Alex Barcelo <abarcelo@ac.upc.edu>
Signed-off-by: Alexander Graf <agraf@suse.de>
Tested-by: Alex Barcelo <abarcelo@ac.upc.edu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c