Method for improving interruption delay of embedded type real-time operation system
暂无分享,去创建一个
The invention discloses a method for improving the interruption delay of an embedded type real-time operation system. The method comprises the following steps: creating a system service mark, a critical section mark, a non-real time interruption mark and an interruption service routine annular array to be processed; programming an arbitrary operation system service, an interruption processing program of non-real time interruption and the task scheduling of an operation system by specific steps: finally registering the interruption processing program of non-real time interruption into an interruption vector table and registering an interruption service routine of real-time interruption into the interruption vector table. The invention does not perform closing interruption operation at all in the realizing process of the system service of the operation system, and can shorten the maximal interruption prohibited time and reduce the interruption delay, thereby improving the instantaneity of the embedded type real-time operation system. The invention has less time and space cost needed by realizing interruption management and is quite suitable for a microkernel embedded type real-time operation system.