mirror of
https://github.com/geohot/qira
synced 2025-03-28 18:03:46 +03:00
15 lines
190 B
C
15 lines
190 B
C
#define SYSCALL_MAXARGS 6
|
|
enum argtype {
|
|
ARG_INT,
|
|
ARG_PTR,
|
|
ARG_STR,
|
|
ARG_UNKNOWN
|
|
};
|
|
|
|
struct syscall_entry {
|
|
const char *name;
|
|
int nargs;
|
|
enum argtype args[SYSCALL_MAXARGS];
|
|
};
|
|
|