What should the system designer do in order to implement system calls, assuming that a system provides the hardware's inbound instructions (for example, "Svc n")? How do users request operating system services?

Source: Internet
Author: User

Job:

1. Write and debug routine subroutines that can realize various functions.

2, write and debug the visit to the pipeline interrupt processing program.

3, constructs the routine subroutine entry Address table.

In the user program, a system call is scheduled where the operating system service needs to be requested. In this way, when the program executes to this command, there will be an interruption, the system from the user state to the pipe state, the operating system's access to the interrupt handler control, it will be called by the system function number, through the routine subroutine entry Address table to the appropriate routine subroutine to perform, after the user needs to complete the service function, Exits the interrupt and returns to the user program's breakpoint to continue execution.

What should the system designer do in order to implement system calls, assuming that a system provides the hardware's inbound instructions (for example, "Svc n")? How do users request operating system services?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.