自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Windows Embedded CE 6.0中斷機(jī)制介紹

開(kāi)發(fā)
本文介紹Windows Embedd CE 6.0中斷機(jī)制。Windows Embedd CE 6.0中斷模型包括:設(shè)備發(fā)起一個(gè)硬件中斷,內(nèi)核(Kernel.DLL)響應(yīng)該中斷,中斷服務(wù)例程快速處理該中斷,以及驅(qū)動(dòng)中的中斷服務(wù)線程(IST)被通知處理該中斷。

本文繼續(xù)介紹Windows Embedded CE 6.0和Windows桌面系統(tǒng)內(nèi)部一些知識(shí)。

Windows Embedded CE 6.0中斷機(jī)制

下圖為Windows Embedded CE 6.0中斷模型:

(1).設(shè)備發(fā)起一個(gè)硬件中斷。->

(2).內(nèi)核(Kernel.DLL)響應(yīng)該中斷,并call對(duì)應(yīng)的中斷服務(wù)例程(ISR)。->

(3).中斷服務(wù)例程快速處理該中斷。->

(4).驅(qū)動(dòng)中的中斷服務(wù)線程(IST)被通知處理該中斷,這里內(nèi)核使用Event通知IST。

Windows Embedd CE 6.0中斷機(jī)制 

這個(gè)過(guò)程中涉及到的ISR和IST都會(huì)處理中斷,但有所不同,前者的中斷級(jí)別更高,所做的工作也很簡(jiǎn)單,而后者做主要的處理工作。具體請(qǐng)看以下的介紹。

"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.”

關(guān)于Windows Embedded CE 6.0中斷機(jī)制在此就介紹這么多,更詳細(xì)的內(nèi)容等我慢慢消化了再介紹。

【編輯推薦】

  1. Windows Embedded CE 6.0系統(tǒng)特性及架構(gòu)一覽
  2. 在Windows Embedded Standard中添加語(yǔ)音識(shí)別功能
  3. 創(chuàng)建可分發(fā)的Windows Embedded Standard組件
  4. Windows Embedded Standard互操作性淺析
  5. Windows Embedded Standard的U盤(pán)啟動(dòng)  
責(zé)任編輯:yangsai 來(lái)源: 博客園
相關(guān)推薦

2010-03-12 15:28:26

Windows Emb

2009-09-24 09:45:07

Windows Emb

2009-11-03 13:31:43

Windows Emb

2009-07-23 13:10:00

Windows Emb

2009-04-22 17:18:29

WindowsCEVistaXP

2011-08-01 16:52:42

Windows CE 嵌入式

2010-04-07 13:01:09

Windows Emb

2010-01-12 15:46:51

Windows Emb

2010-03-03 16:37:50

Windows Emb

2011-03-31 17:49:51

微軟嵌入式WindowsEmbe

2010-03-17 14:21:47

Windows Emb

2010-03-10 12:54:20

Windows Emb

2009-07-03 13:12:59

Windows CE

2009-04-12 11:12:24

windowsCE

2009-11-02 17:36:01

Windows Emb

2010-01-13 14:18:52

Windows Emb

2009-11-10 16:40:46

WindowsEmbeddedWindows7

2010-03-31 16:36:35

Windows CE

2009-12-10 09:19:28

Windows 7嵌入式平臺(tái)

2009-09-16 08:34:17

Windows Emb
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)