linux-mips
[Top] [All Lists]

Re: do_ri

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: do_ri
From: "Sirotkin, Alexander" <demiurg@ti.com>
Date: Wed, 02 Jul 2003 18:36:01 +0300
Cc: linux-mips@linux-mips.org
In-reply-to: <Pine.GSO.3.96.1030702172634.21225B-100000@delta.ds2.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <Pine.GSO.3.96.1030702172634.21225B-100000@delta.ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1
Are you sure ?

Because "grep -r" shows only

./arch/mips/kernel/traps.c:asmlinkage void do_ri(struct pt_regs *regs)
./arch/mips/kernel/traps.c:             do_ri(regs);
./arch/mips/lx/lxRi.c:  do_ri(regp);

On my linux-2.4.17_mvl21 kernel. And I'm quite sure that when my kernel
crashes it's not being called from any of these places.

But then again, may be in may case it's getting called only because some
memory get overwritten.

Maciej W. Rozycki wrote:
On Wed, 2 Jul 2003, Sirotkin, Alexander wrote:

  
Can anyone please enlighten me about the do_ri function ? I could not
find any reference to what it does and when it's  called anywhere.
    
 It's called from arch/mips/kernel/entry.S or
arch/mips64/kernel/r4k_genex.S to handle the Reserved Instruction
exception. 

  

-- 
Alexander Sirotkin
SW Engineer

Texas Instruments
Broadband Communications Israel (BCIL)
Tel:  +972-9-9706587
________________________________________________________________________
"Those who do not understand Unix are condemned to reinvent it, poorly."
      -- Henry Spencer 
<Prev in Thread] Current Thread [Next in Thread>