WinCE 6.0 R3 DMA [英] WinCE 6.0 R3 DMA

查看:69
本文介绍了WinCE 6.0 R3 DMA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在CE 6.0中了解有关DMA驱动程序的更多信息,但无法找到完整的文档。 任何人都可以在这方面向我指出好的信息吗?


我已经调查了驱动程序源代码和注册表项a  bit并且很惊讶地发现以下注册表项
" Priority256" = DWORD:110 由于"110",被读作十六进制数,这意味着线程优先级应设置为272十进制。 由于线程优先级为0-255,因此无法完成此操作。 当我查看实际的
线程优先级时,在这种情况下为251。 如果删除了Priority256注册表项,则线程优先级设置为109. 考虑到下面显示的源代码,这是有道理的。


是否有人使用DMA组件并知道应该设置的优先级(是否有QFE?)?  ;



 


D:\ WWIN600 \ PUBLIC \COMMON \OAK \ REMIVERS \DMA \INC \ dma_adpt.hpp(47):#define DEFAULT_DMA_THREAD_PRIORITY 110



D: \ WINCE600 \PUBLIC \COMMON \OAK \DRIVERS \DMA \ MDD \ ddadad.cpp(64):CeSetPriority(DEFAULT_DMA_THREAD_PRIORITY-1);


解决方案

应该设置为? 答案取决于您的系统。  您或您的系统工程师需要确定最适合您需求的线程优先级。


您可以通过将其添加到您的platform.reg或覆盖common.reg中的设置。 project.reg。


I am attempting to learn more about the DMA driver in CE 6.0 but have been unable to find complete documentation.  Can anyone point me to good information in this regard?

I have investigated the driver source code and registry entries a bit and am surprised to find the following registry entry "Priority256"=dword:110.  Since "110" is read as a hex number, this would mean that the thread priority should be set to 272 decimal.  Since thread priorities are 0-255, this can not be done.  When I view the actual thread priority, it is 251 in this case.  If the Priority256 registry entry is removed, then the thread priority is set to 109.  This makes sense given the source code shown below.

Has anyone worked with the DMA component and know what the priority should be set to (is there a QFE?)? 

 

D:\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\DMA\INC\dma_adpt.hpp(47):#define DEFAULT_DMA_THREAD_PRIORITY 110

D:\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\DMA\MDD\dmaadpt.cpp(64): CeSetPriority(DEFAULT_DMA_THREAD_PRIORITY-1);

解决方案

Should be set to?  The answer would be dependent on your system.   You, or your system engineer, would need to determine the thread priority that works best for your needs.

You can override the setting in common.reg by adding it to your platform.reg or project.reg.


这篇关于WinCE 6.0 R3 DMA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆