COMPUTER SOFTWARE
OPERATING SYSTEMS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
In other registers
|
|
In secondary storage
|
|
On a stack in main memory
|
|
In a queue in main memory
|
Detailed explanation-1: -Servicing an interrupt consists of two, and sometimes three, steps: Saving volatile information (such as register contents) quickly, in an interrupt service routine that runs at IRQL = DIRQL. Processing the saved volatile information in a deferred procedure call (DPC) that runs at IRQL = DISPATCH LEVEL.
Detailed explanation-2: -Whenever an interrupt occurs, the controller completes the execution of the current instruction and starts the execution of an Interrupt Service Routine (ISR) or Interrupt Handler. ISR tells the processor or controller what to do when the interrupt occurs.
Detailed explanation-3: -CPU saves the state of the executing program. CPU passes control of computer to interrupt handler. When interrupt handler is finished, CPU transfers control back to originally executing program.