1 // gensyscalls.h 2 3 #ifndef _GEN_SYSCALLS_H 4 #define _GEN_SYSCALLS_H 5 6 typedef struct gensyscall_parameter_info { 7 const char *type; 8 const char *name; 9 int offset; 10 int size; 11 int actual_size; 12 } gensyscall_parameter_info; 13 14 typedef struct gensyscall_syscall_info { 15 const char *name; 16 const char *kernel_name; 17 const char *return_type; 18 int parameter_count; 19 gensyscall_parameter_info *parameters; 20 } gensyscall_syscall_info; 21 22 #endif // _GEN_SYSCALLS_H 23