tisyscust.h

来自「linux得一些常用命令,以及linux环境下的c编程」· C头文件 代码 · 共 28 行

H
28
字号
/*  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 + =
减小字号Ctrl + -
显示快捷键?