As embedded application fields become complex increasingly, it requests much more higher processor performance and lower power consumption. More and more embedded applications use multi-core processors as CPU of its hardware development platform. However, the operating system supported multi-core processors currently at home and abroad are rare.Based on the analysis of the spaceflight application requirements and the hardware features of multi-core processors, this design adopts the operating system architecture of AMP (asymmetric mulitiprocessing) to extend an operating system in existence, and implements a communication system of multi-core based on the share memory. it provides effective support for practical applications.The system uses a hierarchical design to complete two layers work mainly.The layer of multi-core communication consists of multi-intercore semaphores and multi-intercore message queues. The other layer is multi-core basic services that includes shared memory management, shared resource access control, multi-core inter-interrupt handling. The system of multi-core communication achieved by this method has been successfully integrated in a particular spaceflight operating system, and runs stably. Actual results show that the multi-core communication system is a relatively independent, reliable, strong real-time systems. |