Real-time multi-tasking system kernel analysis Real-time multi-tasking system kernel analysis People who are exposed to real-time multi-tasking operating systems for the first time are often confused about the running mechanism of real-time programs: When are tasks put into operation? What mechanism does the operating system use to determine which task should be run currently? When does this task give up control of the CPU? In order to answer the above questions, we start by analyzing a very simple real-time scheduler to explain the running process of the multi-tasking program. Structurally speaking, the real-time multitasking operating system consists of two parts, one is the operating system kernel (kernel), which is the real-time execution program (Real TimeExecutive: RTX), and the other is the input and output part (I/O) (note that the development system does not belongs to the category of operating systems); embedded systems usually have relatively small I/O requirements (no file system requirements), so many real-time multi-tasking operating systems are essentially a real-time execution program, such as AMX (Kadak), VRTX (Microtec ), iRMX (Intel), etc. (The Some RTX source codes can be obtained on the market (implemented in C, implemented in assembly, and implemented in PL/M language), and you can also download some from the Internet (I introduce a website www.eg3.com, It can be called a treasure trove of resources for electronic engineers in the world). The RTX version I want to introduce below (I named it SRTX: shortRTX) can be said to be the veteran product in RTX. It comes from a certain research institute. They visited the United States for inspection in the early 1990s. , purchased from a company in the United States. Five years ago, SRTX was sold in China. Many industrial control research institutes used SRTX to develop some large or small products. I have made some simplifications and changes to the SRTX introduced here. In terms of function, SRTX is indeed incomparable to what is currently commercially available. Compared to real-time multitasking operating systems that do not support tasks...
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore