System Calls B.Ramamurthy (Adapted from Tannenbaum’s text)

12 Slides1.21 MB

System Calls B.Ramamurthy (Adapted from Tannenbaum’s text)

Introduction System calls: The mechanism used by an application program to request service from the operating system. System calls often use a special machine code instruction which causes the processor to change mode (e.g. to "supervisor mode" or "protected mode"). This allows the OS to perform restricted actions such as accessing hardware devices or the memory management unit. From The Free Online Dictionary of Computing ( http://foldoc.doc.ic.ac.uk/) is edited by Denis Howe [email protected] .

Steps in Making a System Call There are 11 steps in making the system call read (fd, buffer, nbytes)

Some System Calls For Process Management

Some System Calls For File Management

Some System Calls For Directory Management

Some System Calls For Miscellaneous Tasks

System Calls (5) Some Win32 API calls

Operating systems The OS may be split into a kernel which is always present and various system programs which use facilities provided by the kernel to perform higher-level house-keeping tasks, often acting as servers in a client-server relationship.

Operating System Structure The client-server model

Operating System Structure The client-server model in a distributed system

Summary We studied the importance of system calls. And the structure of modern operating systems: client/server and distributed.

Back to top button