Chapter 1 Flashcards
Resource Allocator
Allocates resources to specific programs and users so that it can operate the computer system efficiently and fairly.
Control Program
Manages the execution of user programs to prevent errors and improper use of the computer, and it is specially concerned with the operation and control of I/O devices.
Operating system
The program running at all times on the computer, usually called the Kernel.
Kernel
The OS components running on the computer at all times after system boot.
Two types of programs:
System programs and Application programs
System programs
Are associated with the OS but are not necessarily part of the kernel
Application programs
Include all programs not associated with the operation of the system.
Middleware
Is a set of software frameworks that provide additional services to application developers.
Device Driver
An operating system component that provides uniform access to various devices and manages I/O to those devices
Bus
provides access between components and shared memory
Device driver
understands the device controller and provides the rest of the operating system with a uniform interface to the device.
What is used to ensure orderly access to the memory
a memory controller synchronizes access to the memory
Interrupts
Alert the CPU to events that require attention.
The controller informs the device driver that it has finished its operation via:
An interrupt
Hardware may trigger an interrupt at any time by ending a signal to the:
CPU
Table of pointers
They are used to provide the necessary speed to handle interrupts.
Interrupt Vector
An OS data structure indexed by interrupt address and pointing to the interrupt handlers. a Kernel memory data structure that holds addresses of the interrupt service routings for the various devices.
EEPROM
Electrically Erasable Programable Read-Only Memory.
- Low speed.
- contains mostly static programs and data that aren’t frequently used.
The main difference among the various storage system lies in:
Speed, size (storage), and volatility.
Storage device hierarchy
1) Registers (primary storage)
2) Cache (primary storage)
3) Main memory (primary storage)
4) Non-volatile memory (secondary storage)
5) HDDs (secondary storage)
6) Optical disk (tertiary storage)
7) Magnetic tapes ( tertiary storage)
Mechanical Storage
HHDs, optical disks, holographic storage, magnetic tapes.
Electrical Storage (NVM)
Flash memory, FRAM, NRAM, SSD.
Direct Memory Access (DMA)
- Prevents overhead when transferring bulk data such as NVS I/O.
- Transfer an entire block of data from/to device to main memory.
- One interrupt is created, letting the CPU know that the transfer has completed.
- Prevents creating one interrupt for each byte of data.
CPU
The hardware that executes instruntion