On Thu, Mar 23, 2006 at 08:48:25PM +0100, Stefan Weil wrote:
> Hello,
> 
> according to MIPS32 4KE User's Manual, coprocessor CP0 is
> always usable when the processor is running in kernel mode.
> 
> So in kernel mode, exception "CP0 is not usable" should
> not happen.
> 
> I think the boolean expression which checks for the
> exception condition has to be inverted - see my patch
> for translate.c.

This is correct (otherwise it wouldn't be possible to ever enable CP0).
The Linux kernel (plus qemu startup) happens to avoid this particular
case, which might explain it wasn't caught earlier.


Thiemo


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to