The invention discloses a realization method of a real-time
operating system of component-based hardware. The method comprises the following steps of: firstly, dividing the real-time
operating system into two parts including a hardware inner core and a
software interface; then, realizing the communication of a
task manager, an interruption manager, a counting
semaphore manager, a
mutual exclusion semaphore manager and a
message queue manager of the real-time
operating system by component-based manner in the hardware inner core; enabling the hardware inner core to be communicated with
software by a register interface module;
synchronizing all the managers by a controller lock; enabling the mangers to be communicated by standard inter-mould command interface buses; and finally, realizing an inter-processor counting
semaphore manager and an inter-processor
message queue manager and realizing the hardware inner core of a multiprocessor real-time operating
system. According to the realization method, the inner core of the hardware real-time operating
system is realized by a component-based manner so that the cuttability and the expandability of the
system are improved greatly and the flexibility of the
software is realized by the real-time operation of the hardware.