会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
biaohc
博客园
首页
新随笔
联系
管理
订阅
2019年2月14日
gcc 编译c文件的几个过程
摘要: https://www.cnblogs.com/zhangpengshou/p/3587751.html http://m.elecfans.com/article/663750.html https://www.cnblogs.com/LiuYanYGZ/p/5548855.html https:
阅读全文
posted @ 2019-02-14 12:04 biaohc
阅读(8107)
评论(0)
推荐(0)
2019年1月21日
linux quota---mount
摘要: rpm下安装quota rpm-ivhquota-2.00pre3-7.i386.rpm ubuntu下安装quota apt-get install quota 输入:mount|grep /dev/sda2就会显示sda2挂载的地方 Linux中的根目录以外的文件要想被访问,需要将其“关联”到根
阅读全文
posted @ 2019-01-21 13:37 biaohc
阅读(768)
评论(0)
推荐(0)
2017年4月8日
linux device driver3 读书笔记(一)
摘要: 一:机制与策略(转) http://www.51hei.com/bbs/dpj-29441-1.html 机制mechanism,策略policy。如果你看过《linux device drivers》,里面给出了大概的介绍。机制提供了干什么(do what),策略提供如何做(how to do)。
阅读全文
posted @ 2017-04-08 16:48 biaohc
阅读(1725)
评论(0)
推荐(0)
linux驱动开发(十一)linux内核信号量、互斥锁、自旋锁
摘要: 参考: http://www.360doc.com/content/12/0723/00/9298584_225900606.shtml http://www.cnblogs.com/biyeymyhjob/archive/2012/07/21/2602015.html http://blog.ch
阅读全文
posted @ 2017-04-08 10:28 biaohc
阅读(5479)
评论(0)
推荐(0)
2017年4月7日
linux驱动开发(十)——misc杂散设备
摘要: 1:什么是misc驱动模型? 2:为什么要有misc驱动模型? 3:misc驱动模型的代码实现 4:misc驱动模型实战 参考: http://blog.csdn.net/yicao821/article/details/6785738 http://www.thinksaas.cn/topics/
阅读全文
posted @ 2017-04-07 14:38 biaohc
阅读(1638)
评论(0)
推荐(0)
linux驱动(九)platform驱动模型详解,以及基于platform驱动模型的led驱动
摘要: 参考: http://blog.csdn.net/qq_28992301/article/details/52385518 http://blog.csdn.net/zoe6553/article/details/6372445 http://blog.chinaunix.net/uid-25014
阅读全文
posted @ 2017-04-07 09:04 biaohc
阅读(7716)
评论(0)
推荐(0)
2017年4月5日
(转)__ATTRIBUTE__ 你知多少?
摘要: GNU C 的一大特色就是__attribute__ 机制。__attribute__ 可以设置函数属性(Function Attribute )、变量属性(Variable Attribute )和类型属性(Type Attribute )。 __attribute__ 书写特征是:__attri
阅读全文
posted @ 2017-04-05 11:18 biaohc
阅读(742)
评论(0)
推荐(0)
linux驱动(八)驱动设备模型
摘要: http://blog.csdn.net/xiahouzuoxin/article/details/8943863 http://blog.chinaunix.net/uid-25627207-id-3343854.html http://blog.csdn.net/phunxm/article/d
阅读全文
posted @ 2017-04-05 09:53 biaohc
阅读(981)
评论(0)
推荐(1)
2017年4月4日
linux驱动(七)gpiolib库详解
摘要: 恢复内容开始 1:什么是gpiolib,为什么要有gpiolib? linux中从2.6.35以后就开始有gpiolib库了,gpiolib的作用是对所有的gpio实行统一管理,因为驱动在工作的时候,会出现好几个驱动共同使用同一个gpio的情况; 这会造成混乱。所以内核提供了一些方法来管理gpio资
阅读全文
posted @ 2017-04-04 09:01 biaohc
阅读(7035)
评论(0)
推荐(0)
2017年3月31日
linux驱动(六)led驱动框架
摘要: 1:在linux2.6板本内核开发人员开始建立驱动框架,以led驱动为例: 没有驱动框架的时候我们需要做一下事情: module_init: 1:alloc_chrdev_region 注册字符驱动 2:cdev_alloc、cdev_init、cdev_add来向内核中添加驱动; 3:class_
阅读全文
posted @ 2017-03-31 11:53 biaohc
阅读(1929)
评论(0)
推荐(0)
下一页
公告