文件名称:Linux-driver-development6
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:436.85kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
作者:华清远见嵌入式学院。《Linux设备驱动开发详解》(08&09年度畅销榜TOP50)第6章、字符设备驱动。在Linux设备驱动中,字符设备驱动较为基础。本章主要讲解Linux字符设备驱动程序的结构及其主要组成部分的编程方法。6.1节讲解了Linux字符设备驱动的关键数据结构cdev及file_operations结构体的操作方法,并分析了Linux字符设备的整体结构,给出了简单的设计模板。6.2节讲解了本章及后续各章所基于的globalmem虚拟字符设备,第6~9章都将基于该虚拟设备实例进行字符设备驱动及并发控制等知识的讲解。6.3节依据6.1节的知识讲解globalmem设备的驱动编写方法,对读写函数、seek()函数和I/O控制函数等进行了重点分析。该节的最后改造globalmem的驱动程序以利用文件私有数据。6.4节给出了6.3节的globalmem设备驱动在用户空间的验证。-Author: HuaQing vision embedded institute. The Linux device driver development "(08 and 09 sep TOP50) annual list of best-selling chapter 6, characters, device drivers. In Linux device driver, character device driver is the foundation. This chapter covers Linux characters of a device driver structure and main component of the programming method. Section 6.1 explained the key character device driver Linux data structure cdev and file_operations structure of the body, and analyses the operating methods Linux character the overall structure of the equipment are given, and the design of simple design template. Section 6.2 explained this chapter and subsequent chapters, based on globalmem virtual character device, chapter 6 ~ 9 will be based on the virtual device character device driver and examples such as the concurrent control knowledge s explanation. Section 6.3 basis of the knowledge of the section 6.1 of the equipment driver writers explain globalmem method of reading and writing lett
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第6章、字符设备驱动.pdf
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.