Multiprocessing in Embedded Systems

  • K. C. WangEmail author


This Chapter covers multiprocessing in embedded systems. It explains the requirements of Symmetric Multiprocessing (SMP) systems and compares the approach to SMP of Intel with that of ARM. It lists ARM MPcore processors and describes the components and functions of ARM MPcore processors in support of SMP. It shows how to configure the GIC to route interrupts and demonstrates GIC programming by examples. It shows how to start up ARM MPcores and points out the need for synchronization in a SMP environment. It shows how to use the classic test-and-set or equivalent instructions to implement atomic updates and critical regions and points out their shortcomings. Then it explains the new features of ARM MPcores in support of SMP. These include LDRES/STRES instructions and memory barriers. It shows how to use the new features of ARM MPcore processors to implement spinlocks, mutexes and semaphores for process synchronization in SMP. It defines conditional spinlocks, mutexes and semaphores and shows how to use them for deadlock prevention in SMP kernels. It also covers the additional features of the ARM MMU for SMP. It presents a general methodology for adapting uniprocessor OS kernel to SMP. Then it applies the principles to develop a complete SMP_EOS for embedded systems, and it demonstrates the capabilities of the SMP_EOS system by example programs.


User Mode Device Driver Page Table Virtual Address Deadlock Prevention 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. ARM 926EJ-S : ARM Versatile Application Baseboard for ARM926EJ-S User guide, ARM Information Center, 2010Google Scholar
  2. ARM11: ARM11 MPcore Processor Technical Reference Manual, r2p0, ARM Information Center, 2008Google Scholar
  3. ARM Cortex-A9 MPCore: Technical Reference Manual Revision: r4p1, ARM information Center, 2012Google Scholar
  4. ARM GIC: ARM Generic Interrupt Controller (PL390) Technical Reference Manual, ARM Information Center, 2013Google Scholar
  5. ARM Linux SMP: Booting ARM Linux SMP on MPCore, 2010
  6. ARM Timers: ARM Dual-Timer Module (SP804) Technical Reference Manual, Arm Information Center, 2004Google Scholar
  7. Cox, R., Kaashoek, F., Morris, R. “xv6 a simple, Unix-like teaching operating system,, Sept. 2011Google Scholar
  8. Intel: MultiProcessor Specification, v1.4, Intel, 1997Google Scholar
  9. Stallings, W. “Operating Systems: Internals and Design Principles (7th Edition)”, Prentice Hall, 2011Google Scholar
  10. Silberschatz, A., P.A. Galvin, P.A., Gagne, G, “Operating system concepts, 8th Edition”, John Wiley & Sons, Inc. 2009Google Scholar
  11. Wang, K.C., “Design and Implementation of the MTX Operating Systems, Springer International Publishing AG, 2015Google Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  1. 1.School of Electrical Engineering and Computer ScienceWashington State UniversityPullmanUSA

Personalised recommendations