linux-mips
[Top] [All Lists]

MIPS64 syscall trace for 2.6

To: ralf@linux-mips.org
Subject: MIPS64 syscall trace for 2.6
From: Daniel Jacobowitz <dan@debian.org>
Date: Thu, 4 Dec 2003 11:53:52 -0500
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.1i
As promised.  Not any different, really.

Index: arch/mips/kernel/scall64-64.S
===================================================================
RCS file: /home/cvs/linux/arch/mips/kernel/scall64-64.S,v
retrieving revision 1.9
diff -u -p -r1.9 scall64-64.S
--- arch/mips/kernel/scall64-64.S       10 Oct 2003 22:58:55 -0000      1.9
+++ arch/mips/kernel/scall64-64.S       4 Dec 2003 16:49:22 -0000
@@ -92,6 +92,8 @@ syscall_trace_entry:
        ld      a1, PT_R5(sp)
        ld      a2, PT_R6(sp)
        ld      a3, PT_R7(sp)
+       ld      a4, PT_R8(sp)
+       ld      a5, PT_R9(sp)
        jalr    t2
 
        li      t0, -EMAXERRNO - 1      # error?
Index: arch/mips/kernel/scall64-n32.S
===================================================================
RCS file: /home/cvs/linux/arch/mips/kernel/scall64-n32.S,v
retrieving revision 1.6
diff -u -p -r1.6 scall64-n32.S
--- arch/mips/kernel/scall64-n32.S      10 Oct 2003 22:58:55 -0000      1.6
+++ arch/mips/kernel/scall64-n32.S      4 Dec 2003 16:49:24 -0000
@@ -89,6 +89,8 @@ n32_syscall_trace_entry:
        ld      a1, PT_R5(sp)
        ld      a2, PT_R6(sp)
        ld      a3, PT_R7(sp)
+       ld      a4, PT_R8(sp)
+       ld      a5, PT_R9(sp)
        jalr    t2
 
        li      t0, -EMAXERRNO - 1      # error?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

<Prev in Thread] Current Thread [Next in Thread>
  • MIPS64 syscall trace for 2.6, Daniel Jacobowitz <=