主题 : linux下对IO口地址进行读写问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 53802
精华: 0
发帖: 8
金钱: 40 两
威望: 8 点
综合积分: 16 分
注册时间: 2011-08-16
最后登录: 2011-10-10
楼主  发表于: 2011-10-09 16:03

 linux下对IO口地址进行读写问题

我现在想做个试验,要在linux下对外设地址进行读写,比如要读写地址为0x2800_0000,请问有什么方法比较好呢?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2011-10-09 19:48
linux下?你指的是从user space而非利用kernel里的device driver?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."