[理工] [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