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
>
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
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