首页 | 本学科首页   官方微博 | 高级检索  
     

Linux下的DDR DIMM总线接口设备检测方法
引用本文:王乐,张晓彤,李磊,樊勇.Linux下的DDR DIMM总线接口设备检测方法[J].计算机工程,2007,33(18):256-258.
作者姓名:王乐  张晓彤  李磊  樊勇
作者单位:1. 北京科技大学信息工程学院,北京,100083
2. 中国科学院计算技术研究所,北京,100080
基金项目:中国科学院计算所知识创新工程基金
摘    要:DDR DIMM总线接口是当前普通PC中和CPU交换数据最快的接口,基于此接口开发设备必将有效提高设备的出口带宽。为了避免操作系统管理和使用DDR DIMM,使得用户程序可以通过DDR DIMM总线接口发送和接收数据,该文提出了一种基于Linux操作系统的实现方法。通过把DDR DIMM总线接口设备作为外部设备,将其内存空间映射到用户空间,用户应用程序可以直接访问设备内存。在参照Linux2.4.20-8内核源代码中有关数据结构和函数原形的基础上,编写和测试了DDR DIMM总线接口设备的驱动程序。

关 键 词:DDR  DIMM  Linux  驱动程序  内存映射
文章编号:1000-3428(2007)18-0256-03
修稿时间:2006-09-30

Method for Detecting Device of DDR DIMM Interface Under Linux
WANG Yue,ZHANG Xiao-tong,LI Lei,FAN Yong.Method for Detecting Device of DDR DIMM Interface Under Linux[J].Computer Engineering,2007,33(18):256-258.
Authors:WANG Yue  ZHANG Xiao-tong  LI Lei  FAN Yong
Affiliation:(1. Information Engineering School, University of Science and Technology Beijing, Beijing 100083; 2. Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080)
Abstract:DDR DIMM interface has the maximal data exchange rate with CPU in normal PC,so the devices based on this interface can have high bandwidth.As the DDR DIMM interface is managed and used by OS,user programs can't use it to transmit or receive data.This paper brings forward a solution under Linux.It uses the device based on DDR DIMM interface as an external device and maps memory space into the user process's address space,so the user programs can access the device memory directly.Referring to the related data structures and functions of Linux2.4.20-8,a device driver is programmed and tested for the device based on DDR DIMM Interface.
Keywords:DDR DIMM  Linux  driver program  memory mapping
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号