ch2 EN BK
ch2 EN BK
ch2 EN BK
Structures
I/O operations - A running program may require I/O, which may involve a
file or an I/O device
4 May occur in the CPU and memory, hardware, in I/O devices, in user program
4 For each type of error, OS should take the appropriate action to ensure correct
and consistent computing
4 Many types of resources - CPU cycles, main memory, file storage, I/O devices.
Logging - To keep track of which users use how much and what kinds of
computer resources
Unix and Linux have CLI with optional GUI interfaces (e.g., CDE, KDE,
GNOME)
Operating System Concepts 10 Silberschatz, Galvin and Gagne ©2018
Touchscreen Interfaces
Voice commands
System call sequence to copy the contents of one file to another file
The caller need know nothing about how the system call is
implemented
Just needs to obey API and understand what OS will do as a result call
Index of open()
Index table
Process control
load, execute
File management
Device management
Information maintenance
Communications
Protection
Communications
Background services
Application programs
Source code compiled into object files designed to be loaded into any
physical memory location – relocatable object file
Linker combines these (also, brings in libraries) into single binary
executable file
Layered – an abstraction
Microkernel – Mach
Kernel
4 Consists of everything below the system-call interface and above the physical
hardware
4 Provides the file system, CPU scheduling, memory management, and other
operating-system functions; a large number of functions for one level
Benefits
Most modern operating systems are actually not one pure model