Question: Traps and interrupts are mechanisms used to transfer control between user-level processes and the operating system. Tell us where we can find the first C-language

Traps and interrupts are mechanisms used to transfer control between user-level processes and the operating system. Tell us where we can find the first C-language function of OS/161 that is executed when a trap occurs. Then, tell us where control gets transferred to from that point (i.e., what function services the trap). Be sure to describe the control flow for each type of trap that may occur (e.g., system calls, VM faults, and hardware interrupt).

Step by Step Solution

3.43 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

OS161 is a simplified Skelton of a modern operating system It comes with a configurable b... View full answer

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 Operating System Questions!