1 / 12

System Calls

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

ross
Download Presentation

System Calls

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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 <dbh@doc.ic.ac.uk>.

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

  4. Some System Calls For Process Management

  5. Some System Calls For File Management

  6. Some System Calls For Directory Management

  7. Some System Calls For Miscellaneous Tasks

  8. System Calls (5) Some Win32 API calls

  9. 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.

  10. Operating System Structure The client-server model

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

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

More Related