Re: [Qemu-devel] [PATCH 02/23] bsd-user: add initial support for mips/mips64

2013-06-24 Thread Stacey Son
On Jun 24, 2013, at 12:15 PM, Peter Maydell wrote: >> >> +#if defined(TARGET_MIPS) >> + >> +/* Compare to sys/mips/mips/trap.c */ >> + >> +void cpu_loop(CPUMIPSState *env) > > I suspect you'd do better in the long term to restructure > to pull cpu_loop out into a per-architecture source file >

Re: [Qemu-devel] [PATCH 02/23] bsd-user: add initial support for mips/mips64

2013-06-24 Thread Peter Maydell
On 24 June 2013 03:03, Stacey Son wrote: > Add the main cpu loop, cpu_loop(), for mips and mips64 architecture. Set the > cpu model. Add some stubs for future code. > > --- a/bsd-user/main.c > +++ b/bsd-user/main.c > @@ -2,6 +2,7 @@ > * qemu user main > * > * Copyright (c) 2003-2008 Fabri

[Qemu-devel] [PATCH 02/23] bsd-user: add initial support for mips/mips64

2013-06-24 Thread Stacey Son
Add the main cpu loop, cpu_loop(), for mips and mips64 architecture. Set the cpu model. Add some stubs for future code. Signed-off-by: Stacey Son --- bsd-user/errno_defs.h |5 + bsd-user/main.c | 189 + bsd-user/mips/sys