eLDD notes
viktor
这个作者很懒,什么都没留下…
展开
-
ubuntu 10.10 LXR配置 (with note)
ref: http://damocles.blogbus.com/tag/lxr/ Linux Cross Reference工具在很多网站上都有,不过很多都是国外的网站总是上不去,或者没有适合自己的版本。还是自己配置一下的好。而且可以举一反三,配好了LXR,还可以搞个FXR,XEN-XR什么的。很麻烦但是很有用。 我参考了上面的文章,加了一些内容。整理了一下原作者的配置顺序 配置步骤:原创 2011-11-04 15:43:35 · 830 阅读 · 1 评论 -
ELDD Chapter 2..3 Linux Kernel Facilities
Chapter 2 时间相关 calibrate_delay HZ=100 jiffies schedule_timeout init_timer m/u/ndelay time gettimeofday 内核线程同步 忙等待锁:spinlock.h 互斥信号量:mutex.h 中断控制:[local|spin_lock]_irq_[enable|disable|save原创 2011-11-04 15:59:39 · 360 阅读 · 0 评论 -
最简单的linux内核模块 - hello - 及其Makefile
一个最简单的linux内核模块。当他加载和退出时各会打出一行信息。可以作为程序的框架,也可以测试加载模块。 #include "linux/init.h" #include "linux/module.h" //MODULE_LICENSE("GPL"); --此处:编译进内核的代码一定要标识自己符合GPL协议等开源协议。模块可以不用 static原创 2011-11-04 16:57:21 · 467 阅读 · 0 评论