summaryrefslogtreecommitdiffstats
path: root/target-alpha/cpu.c
diff options
context:
space:
mode:
authorMichael Tokarev2014-01-17 11:23:51 +0100
committerMichael Tokarev2014-02-15 13:10:25 +0100
commit62dc90c668fc4e17639f594b70a1001780f59a9b (patch)
tree0515935251b1decee814c2090d8e3680eefc170d /target-alpha/cpu.c
parentconfigure: add hints to a remedy for feature_not_found errors (diff)
downloadqemu-62dc90c668fc4e17639f594b70a1001780f59a9b.tar.gz
qemu-62dc90c668fc4e17639f594b70a1001780f59a9b.tar.xz
qemu-62dc90c668fc4e17639f594b70a1001780f59a9b.zip
linux-user: refactor do_socketcall()
Refactor do_socketcall() to do argument conversion/checking first, according to a lookup table (which call has how many args) and by calling the right function second with ready-to-go arguments. This ensures that all arguments are handled as abi_long, according to socketcall prototype, and simplifies argument handling alot too. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-alpha/cpu.c')
0 files changed, 0 insertions, 0 deletions