Interrupts Flashcards

1
Q

What is an interrupt?

A

A signal for the CPU to top what it is doing and carry out the interrupt task, carried out by the interrupt service routine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Input/Output Interrupt

A

generated by the I/O devices to signal a job is complete or an error has occurred

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Timer Interrupts

A

Generated by an internal clock to signal that the processor should attend a time critical activity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the Interrupt Service Routine?

A

The part of the OS which is responsible for dealing with interrupt signals. A program with a set of instructions that need to be FDE to carry out the operations of the interrupt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does the ISR work?

A

All previous tasks are placed in a stack.
The ISR places the interrupt into a queue as necessary.
Once the interrupt is complete, the pervious tasks are brought back from the stack.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Objectives of the ISR

A
  • Maximise the use of the whole computer system
  • Be fair to all users
  • Provide reasonable response time to all users
  • Prevent the system failing or becoming overloaded
  • Ensure the system is consistent by giving similar response times to similar jobs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Software Interrupts

A

Detect and fix errors. They prevent crashes caused by unexpected conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly