📄 tisyscust.h
字号:
/* Vitaly: ti_syscall custom implementation FILE: tisyscust.h*/#ifndef _TI_SYSCUST_H_#define _TI_SYSCUST_H_#ifdef __KERNEL__#include <linux/config.h>#include <linux/linkage.h>#ifdef CONFIG_TI_CUSTOM_SYS_CALLS//#define NR_TI_SYSCALLS 16#define NR_TI_SYSCALLS CONFIG_NR_TI_CUSTOM_SYSCALLStypedef int (*ti_syscall_t)(void *param);extern ti_syscall_t ti_syscalls[NR_TI_SYSCALLS];asmlinkage int sys_ti_custom(int nfunc, void* param, int *ret_val);#endif#endif#endif /* _TI_SYSCUST_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -