Skip to contentSkip to conversation

MIPS64 syscall trace for 2.6

PATCH Daniel Jacobowitz 1 participant 1 message Dec 4, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

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

mips/kernel/scall64-64.S +2 -0
diff -u -p -r1.9 scall64-64.S
@@ -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

mips/kernel/scall64-n32.S +2 -0
diff -u -p -r1.6 scall64-n32.S
@@ -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?
Signature · 2 lines
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer