Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PART A: In this part your team will add a simple system call to xv6. Your new syscall should look like this: int partA(void) Your

image text in transcribed

PART A: In this part your team will add a simple system call to xv6. Your new syscall should look like this: int partA(void) Your system call returns the value of a counter (perhaps call it int partAcount or something like that) which is incremented every time any process calls the getpid() system call. That's it! PART B: Here, we want to count the total number of systems calls that has been executed by you or by the system so far. For instance, when you start the operating system (XV6) several system calls take place, like the init() system call, when you type >>Is you execute ls and the system execute other associated system calls. PART A: In this part your team will add a simple system call to xv6. Your new syscall should look like this: int partA(void) Your system call returns the value of a counter (perhaps call it int partAcount or something like that) which is incremented every time any process calls the getpid() system call. That's it! PART B: Here, we want to count the total number of systems calls that has been executed by you or by the system so far. For instance, when you start the operating system (XV6) several system calls take place, like the init() system call, when you type >>Is you execute ls and the system execute other associated system calls

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions