During an x86 software interrupt, when exactly is a context switch made?

↘锁芯ラ 提交于 2019-12-02 00:29:37

Just take the Intel Manual 3 and read:

  • Chapter 6 INTERRUPT AND EXCEPTION HANDLING
  • Section 5.8.5 Stack Switching
  • 5.8.6 Returning from a Called Procedure.

This is what is pushed on an interrupt

Keep in in mind that interrupt are handled with Task Gates, Trap gates and Interrupt gates, each one with different semantic and the last two very close to Call gates.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!