[理工] [OS] Dispatcher

楼主: jerry900287 (卤蛋)   2016-09-30 20:47:34
如题~~
恳请问各位大大
Dispatcher 工作有三种
1.Context Switchig
2.Change mode from kernel mode to user mode
3.Jump to the execution entry of the selected process
小鲁有个疑问有关于第二点
那么Change mode from user mode to kernel mode 也有包含在Dispatcher的工作内吗?
作者: windwaker112 (阿茄)   2016-09-30 21:34:00
没有吧 原文定义上没有这种功用,看有没有其他大大有更深的见解
作者: ken52011219 (呱)   2016-09-30 22:31:00
没有 其实Dispatcher 又称 Kernel Dispatcher显而易见的 它在kernel mode里面Chang mode from user mode to Kernel mode 这代表Dispatcher 必须在user mode 才能使模式变更但Kernel mode无法由user mode中使用 privilegedInstruction 来执行 权限不够反之则可 且dispatcher本身就在kernel mode中

Links booklink

Contact Us: admin [ a t ] ucptt.com