linux-mips
[Top] [All Lists]

Kernel ll/sc emulation?

To: Eric Christopher <echristo@redhat.com>
Subject: Kernel ll/sc emulation?
From: "H. J. Lu" <hjl@lucon.org>
Date: Mon, 1 Jul 2002 19:24:15 -0700
Cc: bkoz@redhat.com, linux-mips@oss.sgi.com
In-reply-to: <1025574717.30577.48.camel@ghostwheel.cygnus.com>; from echristo@redhat.com on Mon, Jul 01, 2002 at 06:51:57PM -0700
References: <20020701110145.A27314@lucon.org> <1025548213.1438.7.camel@ghostwheel.cygnus.com> <20020701122313.35d7dd56.bkoz@redhat.com> <1025562305.28484.1.camel@ghostwheel.cygnus.com> <20020701153438.A31602@lucon.org> <1025568244.30577.16.camel@ghostwheel.cygnus.com> <20020701182418.A1600@lucon.org> <1025574335.30581.44.camel@ghostwheel.cygnus.com> <20020701185158.A2134@lucon.org> <1025574717.30577.48.camel@ghostwheel.cygnus.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5.1i
On Mon, Jul 01, 2002 at 06:51:57PM -0700, Eric Christopher wrote:
> 
> > What do you meant by "it'll be emulated if it fails"? I didn't see any
> > ll/sc emulation in the Linux mips kernel. If you use ll/sc on CPU which
> > doesn't implement ll/sc, your binary will just dump core.
> 
> The kernel should trap and emulate the instruction at that point, at
> least as far as I've been told.
> 

That is a news to me. I couldn't find it anywhere in the Linux mips
kernel. Could someone point me to the right place in the Linux mips
kernel source tree?

Thanks.


H.J.


<Prev in Thread] Current Thread [Next in Thread>