- 博客(4)
- 资源 (8)
- 收藏
- 关注
原创 Unix网络编程(卷一)-第一个简单的时间获取程序
1 前言自己一直想闹明白Unix网络编程到底是怎么一回事,所以开启这个系列文章。这个文章系列将会持续下去,直到不再Coding为止。2 运行第一个实例这篇博客是《Unix 网络编程卷一:套接字联网API》中第一章的内容的一个总结,主要是分析一个典型而又简单的socket程序,便于我们对socket编程有一个大概的认识,以便可以很快的进入主题。实现第一个"Hello World"总是快乐
2016-09-06 18:37:51 2421
原创 Linux设备模型-4-kobj_attribute
在上文Linux设备模型-3-_Kobject 实例中,我们介绍到如何使用default attribute。Default attribute使用很方便,但不够灵活。比如上篇文章在Kobject一节中提到的那个例子,name和val这两个attribute使用同一个show/store函数来访问,如果attribute非常多,show/store函数里的分支就会很凌乱。为了解决这个问题,我们...
2016-09-02 16:12:15 4573 3
原创 Linux设备模型-3-_Kobject 实例
本文将从Linux内核的角度来看一看这个设备模型是如何构建的。本实例基本上没有什么实际意义,只是为了理解kobject这个内核对象。我的测试环境是openwrt15.05 trunk版,硬件平台是mtk7620a。文件名称:my_kobj.c#include /* include the structure of the device and class */#include
2016-09-02 12:10:24 1520
转载 linux驱动头文件位置的说明
在不同版本的内核源码上,头文件所在的位置是不同的,比如说在#include#include同样是regs-gpio.h,是在比较低的版本(比如2.6.25)上位于arch/arm/include/asm中,而mach/regs-gpio.h则是位于arch/arm/mach-s3c2410/include/mach中,2.6.30版本的内核是这种结构,所以,要根据所采用的不
2016-09-01 09:05:04 2469
ARM架构_Cortex-A8
2019-03-14
Python教程-廖雪峰
2017-10-30
HTTP Pocket Reference.chm
2015-08-18
HTTP Pocket Reference
2015-08-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人