qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 05/15] Implement PowerPC slbmfee and slbmfev


From: David Gibson
Subject: Re: [Qemu-devel] Re: [PATCH 05/15] Implement PowerPC slbmfee and slbmfev instructions
Date: Sun, 13 Feb 2011 23:46:26 +1100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, Feb 12, 2011 at 04:23:39PM +0100, Alexander Graf wrote:
> On 12.02.2011, at 15:54, David Gibson wrote:
[snip]
> > +target_ulong helper_load_slb_esid (target_ulong rb)
> > +{
> > +    target_ulong rt;
> > +
> > +    if (ppc_load_slb_esid(env, rb, &rt) < 0) {
> > +        helper_raise_exception_err(POWERPC_EXCP_PROGRAM, 
> > POWERPC_EXCP_INVAL);
> 
> The spec doesn't say what to do in this case. Have you checked what
> real hardware does?

Erm, I don't think I've checked this specific case, on this specific
CPU.  Generally I've found that invalid parameters to MMU management
instructions results in invalid instruction program checks, so I
assumed that's what would happen in this case.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson



reply via email to

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