From 07619a48d4e8051766c294d9d616337869e4c1a0 Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Sun, 7 Apr 2019 23:44:01 +0800 Subject: [PATCH] Fix mips syscall number Signed-off-by: Harry Chen --- ucore/src/libs/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucore/src/libs/unistd.h b/ucore/src/libs/unistd.h index 03d7b22..0298890 100644 --- a/ucore/src/libs/unistd.h +++ b/ucore/src/libs/unistd.h @@ -34,7 +34,7 @@ #define SYS_set_priority 141 #elif defined(__mips__) -#define MIPS_SYSCALL 6000 +#define MIPS_SYSCALL 4000 #define SYS_exit (MIPS_SYSCALL + 1) #define SYS_fork (MIPS_SYSCALL + 2) #define SYS_wait (MIPS_SYSCALL + 114)