Question: Adding a system call to xV6 using c as the programming language you'll add a new system call called getcount to xv6, which, when passed
Adding a system call to xV6 using c as the programming language
you'll add a new system call called getcount to xv6, which, when passed a valid system call number (listed in the file "syscall.h") as an argument, will return the number of times the system call was invoked by the current process.
count has to be a sort of a mapping eg int count[ ]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
