Question: ( 1 ) xv 6 is an interrupt driven operating system. a ) Give an interrupt that will cause a process to change from Running

(1) xv6 is an interrupt driven operating system.
a) Give an interrupt that will cause a process to change from Running to
Blocked.
b) Give an interrupt that will cause a process to change from Blocked to Ready.
Process blocks for input
Scheduler picks another process
Scheduler picks this process
Input becomes available
(2) Why does a programmer have to write a system call anyway? Give two reasons.
(Hint: "The professor made us do it." will not count.)
(3) The address space of a process contains a stack segment, a heap segment, a .bss
segment, a .data segment and a .txt segment. Where are the following stored?
a) Dynamic data allocated by malloc()
b) An initialized local static variable .
c) A method
 (1) xv6 is an interrupt driven operating system. a) Give an

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!