Difference between system calls and procedure calls, Operating System

 

The Most comman difference are given below

  • System calls are heavy. While a procedure call can generally be performed in a few system instructions, a system call needs the computer to save its state, let the operating system take use of the CPU, have the operating system done some function, have the operating system load its state, and then have the operating system send control of the CPU back to user.

 

  • System calls are machine dependent. It could not be a great idea to directly access system calls when portability cannot be used. System calls are also quite hard. Most usually, it adds the duo of RET and TRAP. To develop system call, one would require specialized knowledge of I/O registers, the sequence of operations required to use them; and most important of all, operated enough protection because I/O sources are usually distributed among multiple processes and/or users.

 

Posted Date: 7/28/2012 8:14:19 AM | Location : United States







Related Discussions:- Difference between system calls and procedure calls, Assignment Help, Ask Question on Difference between system calls and procedure calls, Get Answer, Expert's Help, Difference between system calls and procedure calls Discussions

Write discussion on Difference between system calls and procedure calls
Your posts are moderated
Related Questions
Q. What is the major advantage of the layered approach to system design? What are the de-merits of using the layered approach? Answer: As in all cases of modular design as well

Now let us present an implementation of a producer-consumer system using condition variables. This implementation works. dequeue() lock(A) while (queue empty) { wait(A, C)

Sir i want formulas in Memory management starting from paging till the demang paging in a easy manner for solving problems in competitive exams

The questions ask List four major functions of an OS. My answer: Function 1: Provide a user interface Function 2: Manage files Function 3: Manage hardware Function 4: Manage appli

protection in paging

Describe the purpose of the checkpoint mechanism. How habitually must checkpoints be performed? Explain how the frequency of checkpoints affects: System performance while no

Define System Call A system call is a request that is made by any program to the operating system for carrying out tasks - picked from a predefined set - which the said program

Explain system-wide open-file and per-process open-file The system-wide open-file table have a copy of the FCB of each open file, as well as other information. The per-pr


From hardware perspective, every information system can be divided into three task areas Presentation, Application Logic and Data Storage. The R/3 Basis software is extremely s