processor interrupts Flashcards

(14 cards)

1
Q

what is an interrupt?

A

a signal that is sent to the processor to request its immediate attention

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

what happens when the processor receives the interrupt

A

it suspends what it is doing and runs the process associated with the interrupt

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

what things can an interrupt caused by

A
  • a hardware device has data ready to process
  • a device has completed a task it was asked to do
  • a process needs a function to be performed
  • pre-set timer has expired
  • hardware failure has occurred
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what will the OS have relating to interrupts

A

Interrupt Service Routines (ISR or Interrupt Handlers)

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

what is the ISR

A

a small program designed to respond to each interrupt provided by either OS or I/O device drivers

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

what happens when an ISR is serviced?

A

the normal FDE cycle is affected

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

what happens to the FDE cycle

A
  • the currently running process needs to be paused
  • ISR run
  • process is resumed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is a volatile environment?

A

a snapshot of all the info needed to execute a process from its current instruction

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

what does a volatile environment contain?

A

SPR and GPR (including PC)

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

what does SPR stand for

A

special purpose register

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

what does GPR stand for

A

general purpose register

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

what does PC stand for

A

program counter

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

what does OS stand for

A

operating system

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

what does ISR stand for

A

interrupt service routines

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