发布时间:2014-01-10 12:09:08
likely() and unlikely()The gcc C compiler has a built-in directive that optimizes conditional branches as either very likely taken or very unlikely taken. The compiler uses the directive to appropriately optimize the branch. The kernel wraps the directive in very easy-to-use macros,&n.........【阅读全文】
发布时间:2014-01-08 15:59:42
SecureCRT的按退格键出现^H^H^H^H^,按Delete键出现[[3~^[[3~的解决方法------------------------------------------------ftp> cd pu ^Hb^H^H^H^[[3~^[[3~^H^H^H^H^H^H550 Failed to change directory. .........【阅读全文】
发布时间:2014-01-06 16:25:17
转载地址:http://blog.csdn.net/rig622/article/details/7608317由于LDD3的驱动实例都是在linux2.6.10中实现,在后期linux内核版本中有些改动,导致有些实例编译不通过。环境:ubuntu12.04 内核版本:linux3.2.0 实例:LDD3中驱动实例 SCULL排除错误 1、scripts/Makefile.build:49: *** CFL.........【阅读全文】
发布时间:2014-01-06 09:17:43
转载地址:http://blog.csdn.net/liuhaoyutz/article/details/7382956一、hello.c文件分析 这个程序非常简单,它的目的是向我们展示Linux模块编程的架构,而Linux设备驱动程序的开发方法,就是利用了Linux模块编程。首先来分析一下这个程序。对于任何一个模块程序,不论是简单如这个hello.c,还是复杂.........【阅读全文】