Windows Embedded CE 6.0中断机制介绍
创始人
2024-04-19 21:20:21
0

本文继续介绍Windows Embedded CE 6.0和Windows桌面系统内部一些知识。

Windows Embedded CE 6.0中断机制

下图为Windows Embedded CE 6.0中断模型:

(1).设备发起一个硬件中断。->

(2).内核(Kernel.DLL)响应该中断,并call对应的中断服务例程(ISR)。->

(3).中断服务例程快速处理该中断。->

(4).驱动中的中断服务线程(IST)被通知处理该中断,这里内核使用Event通知IST。

Windows Embedd CE 6.0中断机制 

这个过程中涉及到的ISR和IST都会处理中断,但有所不同,前者的中断级别更高,所做的工作也很简单,而后者做主要的处理工作。具体请看以下的介绍。

"Real-time applications use interrupts to respond to external events in a timely manner. To do this, Windows Embedded CE 6.0 breaks interrupt processing into two steps: an interrupt service routine (ISR) and an interrupt service thread (IST). The ISR runs immediately to identify and mask the interrupt, and perform any high priority tasks. The corresponding IST is a normal system thread (although typically of high priority) and can perform the bulk of the handling that is not time critical. This two stage model allows the operating system to maximize the amount of time the system is able to respond to other high priority interrupts.

The kernel is able to handle a total of 64 interrupts from external sources, some of which are predefined (e.g. system timer interrupt, real time clock etc). Devices that have more than 64 interrupt sources that need to be exposed (rare) must implement a mechanism to share interrupt identifiers. Typically this is done by multiplexing related interrupts together in the ISR, and demultiplexing them in the IST.”

关于Windows Embedded CE 6.0中断机制在此就介绍这么多,更详细的内容等我慢慢消化了再介绍。

【编辑推荐】

  1. Windows Embedded CE 6.0系统特性及架构一览
  2. 在Windows Embedded Standard中添加语音识别功能
  3. 创建可分发的Windows Embedded Standard组件
  4. Windows Embedded Standard互操作性浅析
  5. Windows Embedded Standard的U盘启动  

相关内容

热门资讯

如何允许远程连接到MySQL数... [[277004]]【51CTO.com快译】默认情况下,MySQL服务器仅侦听来自localhos...
如何利用交换机和端口设置来管理... 在网络管理中,总是有些人让管理员头疼。下面我们就将介绍一下一个网管员利用交换机以及端口设置等来进行D...
施耐德电气数据中心整体解决方案... 近日,全球能效管理专家施耐德电气正式启动大型体验活动“能效中国行——2012卡车巡展”,作为该活动的...
20个非常棒的扁平设计免费资源 Apple设备的平面图标PSD免费平板UI 平板UI套件24平图标Freen平板UI套件PSD径向平...
德国电信门户网站可实时显示全球... 德国电信周三推出一个门户网站,直观地实时提供其安装在全球各地的传感器网络检测到的网络攻击状况。该网站...
为啥国人偏爱 Mybatis,... 关于 SQL 和 ORM 的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行...
《非诚勿扰》红人闫凤娇被曝厕所... 【51CTO.com 综合消息360安全专家提醒说,“闫凤娇”、“非诚勿扰”已经被黑客盯上成为了“木...
2012年第四季度互联网状况报... [[71653]]  北京时间4月25日消息,据国外媒体报道,全球知名的云平台公司Akamai Te...