I have implemented a trivial system call and now I can call the system call through `syscall`. My question is how can I call the custom system call like normal system call, e.g.`write`.? What files do I need to modify?
The steps I take to add a custom system call:
1. add custom syscall to kern/syscalls.master
2. make sysent
3. add implementation dot c file to sys/conf/files
4. compile and install the kernel
5. test the system using `syscall`
The steps I take to add a custom system call:
1. add custom syscall to kern/syscalls.master
2. make sysent
3. add implementation dot c file to sys/conf/files
4. compile and install the kernel
5. test the system using `syscall`