Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 2 Operating System Services - Coggle Diagram
Chapter 2 Operating System Services
provide an environment for execution of programs and services to programs and users
functions
User interface
Program execution
I/O operations
File system manipulation
communication
Error detection
ensure efficient operation
resource allocation
logging
protection and security
User & OS interface
Command Line Interpreter (CLI)
allows direct command entry
implemented in kernel/ system program
GUI
graphical user interface
user friendly desktop metaphor interface
Touchscreen Interfaces
touchscreen devices
voice command
batch
System calls
Programming interface to the services provided by the OS
written in high level language
access by application programming interface (API)
implementation
system call interface invokes the intended system call in OS kernel and returns status of the system call and any return values
parameter passing
3 method
pass in register
stored in a block / memory
placed/ pushed onto the stack by the program
type
process control
file management
device management
information maintainance
communications
protection
System Service
System programs provide a convenient environment for program development and execution
File management
Status information sometimes stored in a file
Programming language support
Program loading and execution
Communications
Background services
Application programs
Linkers and Loaders
Source code compiled into object files designed to be loaded into any physical memory location – relocatable object file
Linker combines these into single binary executable file
brought into memory by loader to be executed
Design and Implementation
user goals
operating system should be convenient to use, easy to learn, reliable, safe, and fast
system goals
operating system should be easy to design, implement, and maintain, as well as flexible, reliable, error-free, and efficient
ways to structure general purpose OS
Simple structure – MS-DOS
More complex – UNIX
Layered – an abstraction
Microkernel – Mach