Description: 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.
To Search:
File list (Check if you may need any files):
xitongdiaoyong
..............\dev.c
..............\entry.S
..............\sys.c
..............\test.c
..............\unistd.h
..............\结果图片..jpg
..............\说明.txt