[Top] [All Lists]

Kernel ll/sc emulation?

To: Eric Christopher <>
Subject: Kernel ll/sc emulation?
From: "H. J. Lu" <>
Date: Mon, 1 Jul 2002 19:24:15 -0700
In-reply-to: <>; from on Mon, Jul 01, 2002 at 06:51:57PM -0700
References: <> <> <> <> <> <> <> <> <> <>
User-agent: Mutt/
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?



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