文件名称:Linux-driver-development10
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [PDF]
- 上传时间:
- 2012-11-26
- 文件大小:
- 463kb
- 下载次数:
- 0次
- 提 供 者:
- 华***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
作者:华清远见嵌入式学院。《Linux设备驱动开发详解》(08&09年度畅销榜TOP50)第10章、中断与时钟。本章主要讲解Linux设备驱动编程中的中断与定时器处理。由于中断服务程序的执行并不存在于进程上下文,因此,要求中断服务程序的时间尽可能地短。因此,Linux在中断处理中引入了顶半部和底半部分离的机制。另外,内核中对时钟的处理也采用中断方式,而内核软件定时器最终依赖于时钟中断。10.1节讲解中断和定时器的概念及处理流程。10.2节讲解Linux中断处理程序的架构,顶半部、底半部之间的关系。10.3节讲解Linux中断编程的方法,涉及申请和释放中断,禁止和使能中断,以及中断底半部tasklet、工作队列、软中断机制等。10.4节讲解多个设备共享同一个中断号时的中断处理过程。10.5节和10.6节分别讲解Linux设备驱动编程中定时器的编程以及内核延时的方法。-Author: HuaQing vision embedded institute. The Linux device driver development "(08 and 09 sep TOP50) annual list of best-selling chapter 10, interruption and the clock. This chapter covers Linux device driver programming timer interrupt and the processing. Because the interrupt service program execution does not exist when the context, therefore, request the interrupt service routine time as short as possible. Therefore, Linux in interrupt handling introduced into the top and the bottom half of the lower separation mechanism. In addition, the kernel of the processing of the clock interrupt mode, and also USES kernel timer software rely ultimately on the clock interrupt. Section 10.1 of the timer interruption and explain the concept and process. Section 10.2 explain Linux interrupt routine fr a mework, and half of the top and bottom of the relationship between the half. Section 10.3 explain interruption programming method, Linux involved "
(系统自动生成,下载前可以参看下载内容)
下载文件列表
第10章、中断与时钟.pdf