Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14923
b: refs/heads/master
c: 04a7052
h: refs/heads/master
i:
  14921: cf2efc5
  14919: 4a569ab
v: v3
  • Loading branch information
Ralf Baechle committed Dec 1, 2005
1 parent 5a56b88 commit 3434cbe
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ecd5a739048b4d94e4ae3545196eb752d6776c97
refs/heads/master: 04a7052c8399edc95b5e120c980823ccaade6aaf
4 changes: 3 additions & 1 deletion trunk/arch/mips/kernel/scall32-o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ syscall_trace_entry:
li a1, 0
jal do_syscall_trace

move t0, s0
RESTORE_STATIC
lw a0, PT_R4(sp) # Restore argument registers
lw a1, PT_R5(sp)
lw a2, PT_R6(sp)
lw a3, PT_R7(sp)
jalr s0
jalr t0

li t0, -EMAXERRNO - 1 # error?
sltu t0, t0, v0
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/mips/kernel/scall64-64.S
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,15 @@ syscall_trace_entry:
li a1, 0
jal do_syscall_trace

move t0, s0
RESTORE_STATIC
ld a0, PT_R4(sp) # Restore argument registers
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 s0
jalr t0

li t0, -EMAXERRNO - 1 # error?
sltu t0, t0, v0
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/mips/kernel/scall64-n32.S
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,15 @@ n32_syscall_trace_entry:
li a1, 0
jal do_syscall_trace

move t0, s0
RESTORE_STATIC
ld a0, PT_R4(sp) # Restore argument registers
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 s0
jalr t0

li t0, -EMAXERRNO - 1 # error?
sltu t0, t0, v0
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/mips/kernel/scall64-o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ trace_a_syscall:
li a1, 0
jal do_syscall_trace

move t0, s0
RESTORE_STATIC
ld a0, PT_R4(sp) # Restore argument registers
ld a1, PT_R5(sp)
ld a2, PT_R6(sp)
Expand All @@ -132,7 +134,7 @@ trace_a_syscall:
ld a5, PT_R9(sp)
ld a6, PT_R10(sp)
ld a7, PT_R11(sp) # For indirect syscalls
jalr s0
jalr t0

li t0, -EMAXERRNO - 1 # error?
sltu t0, t0, v0
Expand Down

0 comments on commit 3434cbe

Please sign in to comment.