Projet_SETI_RISC-V/riscv-gnu-toolchain/qemu/linux-user/mips64/syscall_nr.h
2023-03-06 14:48:14 +01:00

11 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