mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
0b72da0300
o32 ABI syscalls start at offset 4000. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20201119161710.1985083-3-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
10 lines
268 B
C
10 lines
268 B
C
#if defined(TARGET_ABI_MIPSO32)
|
|
#define TARGET_SYSCALL_OFFSET 4000
|
|
#include "syscall_o32_nr.h"
|
|
#elif defined(TARGET_ABI_MIPSN32)
|
|
#define TARGET_SYSCALL_OFFSET 6000
|
|
#include "syscall_n32_nr.h"
|
|
#else
|
|
#define TARGET_SYSCALL_OFFSET 5000
|
|
#include "syscall_n64_nr.h"
|
|
#endif
|