- 1、本文档共67页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘要 ARM Linux kernel 的中断算法研究
ARM Linux kernel 的中断算法研究
摘 要
实时系统分为两种 软实时和硬实时 普通的 Linux 就是一种
软实时系统 它只能保证大部分的中断响应能在一定时间内完成
硬实时系统则必须要保证所有的中断都能在规定时限内获得响应
在嵌入式系统里 比较著名的硬实时系统有 RTLinux RTAI
MontaVista 等 其中RTLinux 和RTAI 是通过硬件抽象层 RTHAL
来截获所有中断 并按照其实时特性给于不同处理 从而保证所有
的实时中断都能在规定时间内响应 MontaVista 的中断进程特性是
指通过进程的方式来处理中断 相当于赋予了中断优先级 从而保
护了更重要的进程和中断的执行不被低优先级的中断打扰
本设计主要完成的工作是在 RTAI 的基础上 植入 MontaVista
的中断进程特性 为Lubbock 开发板上的ARM-Linux 进行中断的实
时性优化
文章里具体分析了ARM-Linux RTAI 和MontaVista 的相关代
码 给出了最终的融合思路并加以实现 论文的最后是测试结果以
及对ARM-Linux 中断实时性能的进一步优化展望
关键词 RTAI MontaVista 实时 嵌入式 中断
i
ABSTRACT ARM Linux kernel 的中断算法研究
The Research of the Interruption Algorithm in ARM
Linux Kernel
ABSTRACT
The real-time system can be divided into 2 kinds: the soft one and
the hard one. The soft real-time system, such as normal Linux, can only
guarantee that most interrupts can be acknowledged in limited time
while the hard real-time system can guarantee that all the interrupts can
be acknowledged in limited time. In the embedded system field there are
some famous hard real-time systems, such as RTLinux, RTAI, and
MontaVista. In RTLinux and RTAI, all the interrupts are captured by the
Real-Time Hardware Abstract Layer (RTHAL), which will do the
interrupts according to their real time property. In this way, the interrupts
are promised to be acknowledged in limited time. While in MontaVista,
interrupts are treated in the mode of process, which means
文档评论(0)