Re: [Qemu-devel] [RFC] [PATCH 0/5] linux-user: refactor do_syscall()

2012-10-13 Thread Peter Maydell
On 12 October 2012 21:47, Richard Henderson wrote: > On 10/12/2012 11:24 AM, riku.voi...@linaro.org wrote: >> As the first step of the cleanup, I'd like to move implementation of each >> syscall >> completely to their own functions. While at it, we define more standard >> interface between >> do

Re: [Qemu-devel] [RFC] [PATCH 0/5] linux-user: refactor do_syscall()

2012-10-13 Thread Blue Swirl
On Fri, Oct 12, 2012 at 6:24 PM, wrote: > From: Riku Voipio > > Currently linux-user handles system calls with a 3000+ line switch/case > construct > in do_syscall(). Some syscalls are implemented inline in the switch/case, > others > as separate functions, and the rest as mix of both. > > As

Re: [Qemu-devel] [RFC] [PATCH 0/5] linux-user: refactor do_syscall()

2012-10-12 Thread Richard Henderson
On 10/12/2012 11:24 AM, riku.voi...@linaro.org wrote: > From: Riku Voipio > > Currently linux-user handles system calls with a 3000+ line switch/case > construct > in do_syscall(). Some syscalls are implemented inline in the switch/case, > others > as separate functions, and the rest as mix of

[Qemu-devel] [RFC] [PATCH 0/5] linux-user: refactor do_syscall()

2012-10-12 Thread riku . voipio
From: Riku Voipio Currently linux-user handles system calls with a 3000+ line switch/case construct in do_syscall(). Some syscalls are implemented inline in the switch/case, others as separate functions, and the rest as mix of both. As the first step of the cleanup, I'd like to move implementat