MIPS64 syscall() arguments

The seventh argument for syscall is passed in a register, not on the stack

Change-Id: Idb69fac77d1f710cff5a3ab4ae1259feb61ae69d
This commit is contained in:
Chris Dearman 2014-08-20 16:39:47 -07:00 committed by Raghu Gandham
parent 86f594b19b
commit 296895f1a9
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ LEAF(syscall,FRAMESZ)
#else
move a3, a4
move a4, a5
REG_L a5, FRAMESZ(sp)
move a5, a6
#endif
syscall
move a0, v0