在通用嵌入式操作系统开发中提到VxWorks、rtLinux、ThreadX都属于硬实时操作系统。(原文链接:http://blog.csdn.net/artworld/article/details/53977747)如果对于实时性要求较高,则需要在操作系统中提供硬实时能力。为操作系统提供硬实时能力的方法很多,RTAI(Real Time Application Interface)就是其中的选择之一。
RTAI的介绍如下: (网址:www.rtai.org)
Then RTAI might be the realtime extension of your choice! The Realtime Application Interface consists mainly of two parts:
A patch to the Linux kernel which introduces a hardware abstraction layer.
A broad variety of services which make realtime programmers’ lifes easier.
RTAI is a true community project. Just download and try it out - the developers are looking forward to your comments, ideas and other help to make RTAI one of the best realtime extensions available!
This website is the master ressource for all kind of information about RTAI. If you feel it’s interesting for you subscribe to our users’ mailing list where all kinds of topics related to RTAI can be discussed.
RTAI在Linux中以模块加载的方式随系统启动。Artworld-ia32-rtai-1.0.0使用了全部的RTAI模块,方便应用各种RTAI的功能。Artworld-ia32-rtai-1.0.0的下载分为两部分,地址分别如下:
1) http://download.csdn.net/detail/artworld/9750151
2) http://download.csdn.net/detail/artworld/9750155
1. Artworld-ia32-rtai-1.0.0安装。
可以参考通用嵌入式操作系统开发一文完成安装。
(原文链接:http://blog.csdn.net/artworld/article/details/53977747)
2. 查看已安装的RTAI modules。
在命令行中输入: lsmod | grep rtai
RTAI不同的module提供了不同的功能。例如模块rtai_mbx提供了mailbox功能,用于实时进程间通信。
关于具体RTAI的使用可以参考在线文档。