Font Size: a A A

The Kernel Research Of Real Time Operating System And The Hardware Implementation Of Interrupt Management

Posted on:2012-01-09Degree:MasterType:Thesis
Country:ChinaCandidate:X L JiaFull Text:PDF
GTID:2218330368477903Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Real-time operating system (Real Time Operating System, RTOS) is based on the type deprived of CPU scheduling means, with its strong real-time, good reliability, convenience portability, good performance security etc, and it is widely used in aerospace, industrial control, automotive electronics and nuclear power plant construction and other fields. In the paper, the theory and technology which based on the kernel structure of real-time operation system,μC/OS-Ⅱtask management and task scheduling etc has made a detailed analysis; The key technologies which based on the stack space management of real-time operating system, interrupt management had been thorough studied and has been implemented in hardware design.Firstly, in the paper, the features and architecture of the real-time operating system has been depth probed into. Based on these, the open source of embedded systemμC/OS-Ⅱhas made analysis. The task management method ofμC/OS-Ⅱand the implementation way of task scheduling has been described from the kernel structure. it is concluded that the task management is through the task control blocks to connect the whole system.Secondly, the current several typical of RTOS has been research into the deep .It found that RTOS have to interact with the more peripheral and task management and task scheduling will become more complex with the perfect system functionality. The result is that real-time and reliability has not satisfied. To solute the problem, the idea of kernel hardware design has been put forward. System architecture is divided into soft-core and hardcore. Hardcore will manage application tasks as a coprocessor to improve the real time of system. It is so significant that the system performance has improved. In order to resolve the problem that the task stack space is waste, resulting in insufficient RAM problem, an improvement management method of task stack space has been put forward, withμC/OS-Ⅱas the research object. The stack space is divided into task stacks and interrupt nesting stack. According to the structure of divided , the hardware design of stack space management has achieved based on the FPGA platform .The results show that this method effectively solves the problem of memory space, while reducing the frequency of the interrupt switch and improving the efficiency of the processor.Finally, while analyzing the interruption management ofμC/OS-Ⅱsystem, it is found that CPU frequently scans the time tick interrupt service subroutine. In order to reduce the pressure of CPU, the interruption management system is designed based on the FPGA platform. The interruption management system is comprised of the interrupt sources management module, the interrupt vector management module, the time tick interrupt management module and so on. And the same time, in each module was achieved by the hardware. Through analyzing the results of simulation, the interruption management implemented hardware can efficiently save CPU resources, improving CPU processor's efficiency.
Keywords/Search Tags:Real time operating system, μC/OS-Ⅱ, interrupt management, kernel, stack space management
PDF Full Text Request
Related items