When an operating system receives a system call from a


Question: When an operating system receives a system call from a program, a switch to the operating system code occurs with the help of the hardware. In such a switch, the hardware sets the mode of operation to kernel-mode, calls the operating system trap handler at a location specified by the operating system, and allows the operating system to return back to user mode after it finishes its trap handling. Consider the stack on which the operating system must run when it receives the system call. Should this be a different stack from the one that the application uses, or could it use the same stack as the application program? Assume that the application program is blocked while the system call runs.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: When an operating system receives a system call from a
Reference No:- TGS02271850

Expected delivery within 24 Hours