operating-system - h/w 和 s/w 中断的实现区别
问题描述
我知道硬件中断和软件中断有什么区别。问题是实现上的差异。我知道我们读取了一个中断向量并执行了中断服务程序。但是它们之间有什么区别呢?这个问题是针对研究生入学面试的。
解决方案
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).
推荐阅读
- pandas - 按最常见的值汇总数据框列
- javascript - 在数组 React 中打印数组对象的正确语法
- woocommerce - wordpress 插件的单词替换
- python - 如何比较两个矩阵的每个元素
- c# - 在进入列表框之前更改数据
- android - Android 将文件下载到 SD 卡
- react-native - TypeError:Super 表达式必须为 null 或 react native 中的函数
- ios - 如何在 Mapbox iOS SDK 中使用捆绑字体?
- firebase - Firebase,Flutter:我可以在 signInWithCredential 之前检查 PhoneAuthCredential 的有效性吗?
- python - 如何在我的 python 代码中解决这个错误?