fwzfwz1
驱动中牛
驱动中牛
  • 注册日期2002-11-01
  • 最后登录2007-06-01
  • 粉丝0
  • 关注0
  • 积分80分
  • 威望8点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
阅读:721回复:2

高分求教一个申请大容量缓冲的问题!

楼主#
更多 发布于:2003-07-28 10:49
在linux下,可以通过保留系统内存的高端,使得这部分内存不位内核所使用,驱动程序可以申请这部分内存供DMA传输使用,可以一次传输N兆数据,感觉很爽呀!
不知windows下如何申请一块大的空间(物理连续)供dma传输使用,请高手指点!
有了驱动,人才有了力量。
fwzfwz1
驱动中牛
驱动中牛
  • 注册日期2002-11-01
  • 最后登录2007-06-01
  • 粉丝0
  • 关注0
  • 积分80分
  • 威望8点
  • 贡献值0点
  • 好评度8点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2003-07-28 14:55
高手支持一下,本人很想知道解决办法!
有了驱动,人才有了力量。
green_pine
驱动太牛
驱动太牛
  • 注册日期2002-10-22
  • 最后登录2019-06-10
  • 粉丝3
  • 关注0
  • 积分48分
  • 威望599点
  • 贡献值1点
  • 好评度144点
  • 原创分0分
  • 专家分0分
  • 社区居民
板凳#
发布于:2003-07-30 13:56
http://www.jungo.com/support/faq.html#lfc6007. As explained in the FAQ, DMA buffers should generally be locked as non-cached, to ensure safe access (this is not dictated by WinDriver), and access to non-cached memory is slower. For Contiguous Buffer DMA it is possible to use the DMA_ALLOW_CACHE flag to lock a cached DMA buffer on Win2k/XP for faster access (see the above FAQ as well as section A.2.12 of the manual), however we do not recommend doing so, since you run the risk of memory corruption. This is true for both the evaluation and registered WinDriver version, both for v6.00 and for the latest 6.02 version (as well as earlier versions).
游客

返回顶部