25
//#define regs_t elf_gregset_t
34
//#define SYSCALL_OPS "\xcd\x80\xcc\x90"
35
#define SYSCALL_OPS "\xef\x90\x00\x00"
36
#define SYSCALL_OPS_little "\x00\x00\x90\xef"
38
#define CPU_ARG0(x) R_R0(x)
39
#define CPU_ARG1(x) R_R1(x)
40
#define CPU_ARG2(x) R_R2(x)
41
#define CPU_ARG3(x) R_R3(x)
42
#define CPU_SP(x) R_SP(x)
43
#define CPU_PC(x) R_PC(x)
44
#define CPU_RET(x) R_R0(x) /* return value */
26
#include "arm-linux.h"
28
#include "arm-darwin.h"