Question: Exercise 2: Consider a multiple interruption scenario with priority. Three devices are connected to a computer that executes a user program. The normal duration of
Exercise 2: Consider a multiple interruption scenario with priority. 5+5pts Three devices are connected to a computer that executes a user program. The normal duration of the user program without any interruptions is T0=50sec. The execution of the user program starts at time to =0sec. - Device 1: during the execution of the user program, device 1 produces an interrupt request at time t1=15sec. The priority of this device is P1=3, and the duration of its normal execution without interruption is T1=15sec. - Device 2: at time t2=20sec, device 2 issues an interrupt request, and the priority of the device is P2=6. The duration of its normal execution without interruption is T2=20sec. - Device 3: at time t3=35sec, device 3 issues an interrupt request, and the priority of the device is P3=2. The duration of execution of this interrupt program is T3=10sec. 1- Summarize in a table the time of beginning and end of executions relative to the main program and the peripheral devices 1,2,3. 2- By considering the priority of interrupt, explain the execution order of the scenario
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
