1.2 Computer-System Organization Flashcards
A modern general-purpose computer system consists of one or more _____ and a number of device controllers.
CPUs
Device controllers are connected through a common _____ that provides access between components and shared memory.
bus
Each device controller is in charge of a specific type of _____, such as a disk drive or graphics display.
device
A device controller maintains some local _____ storage.
buffer
The device controller is responsible for moving the data between the peripheral devices and its local _____ storage.
buffer
Typically, operating systems have a _____ for each device controller.
device driver
The device driver provides the rest of the operating system with a uniform _____ to the device.
interface
The CPU and device controllers can execute in _____, competing for memory cycles.
parallel
To ensure orderly access to shared memory, a memory controller _____ access to the memory.
synchronizes
The three key aspects of the system discussed are interrupts, storage structure, and _____ structure.
I/O
To start an I/O operation, the device driver loads the appropriate registers in the _______.
device controller
The device controller examines the contents of the registers to determine what action to take, such as _______.
read a character from the keyboard
Once the transfer of data is complete, the device controller informs the device driver that it has _______.
finished its operation
The device driver gives control to other parts of the operating system, possibly returning the data or a _______ to the data if the operation was a read.
pointer
For other operations, the device driver returns status information such as ‘write completed successfully’ or _______.
‘device busy’
The controller informs the device driver that it has finished its operation via an _______.
interrupt
Hardware may trigger an interrupt by sending a signal to the CPU, usually by way of the _______.
system bus
When the CPU is interrupted, it stops what it is doing and immediately transfers execution to a _______ location.
fixed
The interrupt service routine executes, and on completion, the CPU resumes the _______ computation.
interrupted
Each computer design has its own interrupt mechanism, but several functions are _______.
common
The straightforward method for managing the transfer of control to the interrupt service routine would be to invoke a _______ routine.
generic
Interrupts must be handled quickly, as they occur very _______.
frequently
A table of pointers to interrupt routines can be used to provide the necessary _______.
speed
The table of pointers is generally stored in _______ memory.
low