qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)
@ 2007-05-04 20:12 Stefan Weil
  2007-05-04 20:27 ` Paul Brook
  2007-05-04 20:27 ` Blue Swirl
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Weil @ 2007-05-04 20:12 UTC (permalink / raw)
  To: QEMU Developers

Resetting a MIPS cpu currently does not work, because important
entries in env (CPUMIPSState) are filled with 0 at the
beginning of function cpu_reset.

At system start, these values are set in cpu_mips_register.

After reset, env->nb_tlb == 0 results in a division by zero
crash of QEMU.

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?

Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-04 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-04 20:12 [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression) Stefan Weil
2007-05-04 20:27 ` Paul Brook
2007-05-04 20:44   ` Stefan Weil
2007-05-04 20:27 ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).