diff options
author | Michael Tokarev | 2014-01-17 11:23:51 +0100 |
---|---|---|
committer | Michael Tokarev | 2014-02-15 13:10:25 +0100 |
commit | 62dc90c668fc4e17639f594b70a1001780f59a9b (patch) | |
tree | 0515935251b1decee814c2090d8e3680eefc170d /target-alpha/cpu.c | |
parent | configure: add hints to a remedy for feature_not_found errors (diff) | |
download | qemu-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