[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Fix powerpc 604 reset vector

From: Tristan Gingold
Subject: Re: [Qemu-devel] [PATCH] Fix powerpc 604 reset vector
Date: Tue, 28 Apr 2009 10:58:45 +0200

On Apr 28, 2009, at 9:35 AM, Tristan Gingold wrote:

On Apr 27, 2009, at 7:10 PM, Blue Swirl wrote:

On 4/27/09, Tristan Gingold <address@hidden> wrote:
According to 604eUM_book (see 8.3.3 Reset inputs p8-54), the IP bit is set for hreset and the vector is at offset 0x100 from the exception prefix.

No difference in this area between 604 and 604e.

This breaks system_reset. Maybe the excp_prefix should be reset to
original value on reset?

Is system_reset supposed to be a soft reset or an hard reset ?

To be more precise:
helper.c:cpu_ppc_reset set msr EP (=IP) bit without setting excp_prefix.

This is not coherent: if exceptions are enabled without resetting EP bit, a wrong prefix will be used.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]