Question: Please answer the following question: When a system call occurs, the hardware will redirect execution to special trap handler code in the OS. The OS
Please answer the following question:
When a system call occurs, the hardware will redirect execution to special trap handler code in the OS. The OS must set up a trap table to inform the hardware of the location of all interrupt-handling routines. Explain when and how the trap table is initialized and who is responsible for the initialization. How does the system prevent regular user processes from modifying the trap table once it is installed?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
