Switching from user mode to kernel mode

前端 未结 4 1299
南笙
南笙 2020-12-24 03:06

In my operating systems class, I\'m asked whether switching from user to kernel mode is privileged. This is not OS-specific. At first I thought yes, but it seems like a big

4条回答
  •  滥情空心
    2020-12-24 04:08

    In user land, you request privileged operations via system calls to the kernel, which performs the switch to kernel mode as necessary. The user is using an API, the kernel is performing the privileged operations.

提交回复
热议问题