Chinaunix首页 | 论坛 | 博客
  • 博客访问: 633388
  • 博文数量: 75
  • 博客积分: 7001
  • 博客等级: 少将
  • 技术积分: 1465
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-11 17:39
文章分类

全部博文(75)

文章存档

2010年(1)

2009年(25)

2008年(49)

我的朋友

分类: LINUX

2009-05-25 11:39:24

The attached example two routines will show you how to access hardware registers with physical address provided. One is by means of Proc file system, and the other is through Sys file system.

example routines:
Procfs:
文件:regrw_procfs.tar.bz2
大小:20KB
下载:下载

Sysfs:
文件:regrw_sysfs.tar.bz2
大小:10KB
下载:下载

my implementment through IOCTL:
文件:myregrw.tar.bz2
大小:2883KB
下载:下载
阅读(1412) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~