Ch.2 Flashcards

1
Q

Interrupts

A

Mechanism used by OS to signal the system that a high-priority event has occurred that requires immediate attention.

  • I/O drives most interrupts
  • Controller places interrupt number in an interrupt register for OS to take action
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Interrupt Vector

A

Data structure for normal technique for handling interrupts

  • one entry per interrupt
  • each entry contains the address for the interrupt service routine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

System Calls

A

Function call provided by the OS as an interrupt

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

Switch Steps

A

1) Change the processor to kernel mode
2) Save and reload the MMU to switch to the kernel address space
3) Save the program counter and reload it with the kernel entry point

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

I/O Devices

A

OS includes device drivers that control access to the devices

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

File Systems

A

OS module that provides high level interface to allow the user and programs to create, delete, modify, and apply other operations to various types of files

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

Interrupts

A

used by OS to signal the system that a high-priority event has occurred that requires immediate attention.

  • I/O drives lots of interrupts
  • Controller causing the interrupt places interrupt # in an interrupt register. The OS then must take action
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Monolithic Kernel

A

Core functionality such as memory allocation, and scheduling, as well as services such as device drivers and file system exist in the system space

(i.e. Linux)

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

Microkernel

A
  • Only basic functionality is included in the kernel
  • Everything else in user-space

(i.e. Minux)

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

Program

A

Sequence of instructions written to perform a specified task

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

Process

A
  • an instance of a program in execution

Privileged - OS kernel processes which can execute all types of hardware operations and access all memory

User - Can not execute low-level I/O. Memory protection keeps these processes from trashing memory owned by the OS or other processes.

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