Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The goal of the project is simple: to add a system call to xv6. Your system call, getreadcount(), simply returns how many times that the
The goal of the project is simple: to add a system call to xv6. Your system call, getreadcount(), simply returns how many times that the read() system call has been called by user processes since the time that the kernel was booted.
Your new system call should look have the following return codes and parameters: int getreadcount(void) Your system call returns the value of a counter (perhaps called readcount or something like that) which is incremented every time any process calls the read() system call. Thats it!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started