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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!