Fix WAIT syscall number for mipsel

Signed-off-by: Harry Chen <i@harrychen.xyz>
master
Harry Chen 6 years ago
parent a2985b6e80
commit 215b8c52b3

@ -347,7 +347,7 @@ enum SyscallId {
Clone = 4120,
Exec = 4011,
Exit = 4001,
Wait = 4007,
Wait = 4114,
Kill = 4037,
Fsync = 4118,
GetCwd = 4203,

@ -37,7 +37,7 @@
#define MIPS_SYSCALL 6000
#define SYS_exit (MIPS_SYSCALL + 1)
#define SYS_fork (MIPS_SYSCALL + 2)
#define SYS_wait (MIPS_SYSCALL + 7)
#define SYS_wait (MIPS_SYSCALL + 114)
#define SYS_exec (MIPS_SYSCALL + 11)
#define SYS_clone (MIPS_SYSCALL + 120)
#define SYS_yield (MIPS_SYSCALL + 162)

Loading…
Cancel
Save