harold
驱动牛犊
驱动牛犊
  • 注册日期2001-08-26
  • 最后登录2002-10-12
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1770回复:2

为什么windriver中用WD_DMALock老是提示Could not lock down buffer,能否指点一二

楼主#
更多 发布于:2001-10-02 12:09
为什么我在windriver中用WD_DMALock老是提示Could not lock down buffer,能否指点一二
jst7792
论坛版主
论坛版主
  • 注册日期2001-12-10
  • 最后登录2006-11-16
  • 粉丝0
  • 关注0
  • 积分3分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-12-14 21:12
你的buffer有多大?如果大于1M,需要使用DMA_LARGE_BUFFER
具体用法可以参考手册的说明
兄弟们,给点分吧
iamaf~1
驱动小牛
驱动小牛
  • 注册日期2001-09-23
  • 最后登录2003-06-26
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2001-12-15 12:09
In Windows NT, contiguous kernel memory is allocated from non paged kernel pool of memory. The size of this pool is fixed at boot time by a registry setting. You can increase the allocated memory by increasing the value of NonPagedPoolSize under \"HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management in the registry. The default value is zero, which allocates a buffer of 110k.
这个论坛不支持长用户名,害得我iamafraid 只好叫iamaf~1了...
游客

返回顶部