Lecture 1
Lecture 1
Topics:
System Calls
System Programs
To explain how operating systems are installed and customized and how
they boot.
System Calls
Three most common APIs are Win32 API for Windows, POSIX API for POSIX-
based systems (including virtually all versions of UNIX, Linux, and Mac OS
X), and Java API for the Java virtual machine (JVM)
The system call interface invokes the intended system call in OS kernel
and returns status of the system call and any return values
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
Parameters placed, or pushed, onto the stack by the program and popped
off the stack by the operating system. Block and stack methods do not
limit the number or length of parameters being passed
Process control
File management
Device management
Information maintenance
Communications
Protection
Shell: Shell is an interface between the operating system and the user. The
primary responsibility of the shell is to collect the user's input and execute
the program on the operating system based on that input.
In particular, the threads of a process share its executable code and the
values of its dynamically allocated variables and non-thread-local global
variables at any given time.
System Programs