Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - xitongdiaoyong
Search - xitongdiaoyong - List
1:修改dev.c文件,定义一个全局变量int count=0 然后用它来统计包的个数。 2.修改sys.C文件,添加extern int count 然后定义自己的函数,asmlinkage int sys_mycall(void) 3.修改entry.S和unistd.h文件,为自己定义的函数增加系统调用号。 4.自己写个函数进行系统调用。-1: Modify dev.c file, define a global variable int count = 0 then use it to the number of statistical packages. (2) modify sys.C file, add extern int count and then define your own functions, asmlinkage int sys_mycall (void) 3. Entry.S and unistd.h files to modify for their own defined function to increase the system call number. 4 to write a function for system calls.
Date : 2026-01-02 Size : 56kb User : 吴涛
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.