Linux is one of the most popular operation systems (OS), and it has lots of advantages, such as open source code, supportting different platforms, and having abundant computer resources. But Linux usually can not satify the requirements of real time systems. So, studying real time Linux becomes a very important project.RTLinux is a good implementation of real time operation system bases on Linux. RTLinux is a hard real time OS, and has the advantages of Linux. But RTLinux also has some disadvantages in the real time applications. For example, RTLinux do not have any file systems, it can not be used in the projects that real time storage to harddisk is requested.Incorporated with the real time storage application, this thesis mainly studys and develops the real time kernel software based on RTLinux. Firstly, we read roundly the source code of Linux and RTLinux. The framework and the mechanism of Linux and RTLinux have been summarized. Secondly, we find out why the thread of RTLinux can not call any functions of Linux kernel, and then we put . forward a project to solve the problem. Thirdly, we present the design of a real time data storage to harddisk based on RTLinux. A file system has been designed for real-time kernel of RTLinux in order to support real time data storage. Finally, we give an extended . implementation to RTLinux. The practical experiments have demonstrated the excellent performance of our extended RTLinux. |