首页 > 解决方案 > h/w 和 s/w 中断的实现区别

问题描述

我知道硬件中断和软件中断有什么区别。问题是实现上的差异。我知道我们读取了一个中断向量并执行了中断服务程序。但是它们之间有什么区别呢?这个问题是针对研究生入学面试的。

标签: operating-system

解决方案


The difference is that the timing of a HW interrupt is dictated by the HW and the timing of a SW interrupt is determined programmatically by the operating system.

SW interrupt delivery will take place within some kind of HW interrupt handler (e.g., the timer handler).


推荐阅读