OS Structure - Chapter 2

Services

Service is a function that is of use to the user

System calls

System call - makes calls to the OS to run certain services such as make a process

API - application programming interface - can be used to access the system call interface

The open system call is hidden from the programmer.

i indexes a pointer that points to the system call.

Types of System call

Example of a system call

System Programs/Utilities

Typically provide a user friendly way to invoke system calls, however they can bee more complex.

Major activities regarding process management

Major activities regarding memory management

Major activities for secondary storage

Command interpreter

A tool used to convert human commands, into calling system calls.

Fork and Exec

fork() - creates a new process

exec() - exec replaces the current process with a new process

System programs

Bundles of system calls that are used for common jobs by the user.

Bootmanager

A system program that allows you to choose which OS you want to load.