[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression) |
Date: |
Fri, 04 May 2007 22:44:44 +0200 |
User-agent: |
IceDove 1.5.0.10 (X11/20070329) |
Paul Brook schrieb:
>> We can either re-arrange the entries in CPUMIPSState
>> (move those which must not be zero'ed to the end), or
>> cpu_reset must call cpu_mips_register.
>>
>> Which solution is better?
>
> ARM uses the latter solution.
> IMHO it's better to do that than try and extend the hacks were some
> fields are
> left untouched by a reset.
>
> Paul
>
I had just implemented this 2nd solution. It was not sufficient
because env->irq was also zero'ed, so Linux starts after
reset without the MIPS timer interrupt which is not good :-).
Re-arranging env->irq is not a nice solution but it helped.
Stefan