Devices and Device Drivers Flashcards

1
Q

A register is ?

A

a storage location associated with the I/O device that data can be read from and written to

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

The I/O controller ?

A

reads commands written to the control register and performs the requested action

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

The control register is ?

A

where the device driver writes commands such as read or write for the I/O controller to act upon

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

The data register is?

A

where the device driver writes data that the device outputs and reads data that the device inputs

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

A status register?

A

might indicate to the device driver whether the device is ready to accept a command, that the device is busy, or that an interrupt has occurred

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

the data registers might be supplemented by a first-in first-out (FIFO) chip, in which?

A

multiple bytes or words of input or output data are stored in the order they were received

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

Port-mapped I/O uses?

A

dedicated memory addresses, referred to as ports, and special CPU instructions to communicate with I/O devices

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

memory-mapped I/O?

A

the control and data registers are mapped into
the computer’s main memory space and the CPU uses the same instructions for reading and writing I/O registers as it does for reading and writing RAM

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

programmed I/O (PIO) devices

A

require the CPU to read and write each byte or word of data from and to the device registers

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

direct memory access (DMA)

A

transfer large blocks of memory to and from I/O devices with little involvement by the CPU

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

A DMA controller transfers data between?

A

the I/O device and a block of memory, allowing the CPU to attend to other tasks

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

Most I/O devices can be categorized based on?

A

−bHow data is accessed (randomly or sequentially)

− How much data is accessed – one byte per transfer or a block of data per transfer

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

A random-access device allows?

A

data accesses to occur directly at any location of the device’s storage, without having to start at the beginning each time a data access occurs

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

Sequential-access devices include ?

A

serial ports, network interfaces, and tape drives

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

a character-stream device

A

A device that transfers data one byte at a time

  • Keyboards, mice, serial ports, and sound cards are examples
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A block device works with?

A

a collection of bytes, usually a fixed size

  • Storage devices are the most common block devices
17
Q

A network interface is a?

A

special case (It most closely resembles a block device)

18
Q

A device driver is?

A

software that enables the OS and application software to access specific computer hardware

19
Q

The OS provides basic I/O support for devices, but?

A
  • it doesn’t support specific features of each device
  • For specific features to be supported and work properly, a device driver is needed for the device
20
Q

An interrupt request (IRQ) line is ?

A

a channel within the computer that is used for communications with the CPU

21
Q

An I/O address range is ?

A

memory reserved for use by a particular device

22
Q

driver signing

A

When it has been verified, a unique digital signature is incorporated into that driver

23
Q

Kernel modules

A

pieces of code that must be linked into the kernel

24
Q

Loadable modules

A

pieces of code that are not linked into the kernel, but are loaded when the OS is started

25
Block special files are
used to manage random access devices that involve handling blocks of data (hard drives, DVD/CD-ROM drives)
26
Character special files ?
handle byte-by-byte streams of data (USB connections such as mice, keyboards, printers, etc....)
27
Named pipes used for?
for handling internal communications, such as redirecting file output to a monitor