Abstract
Chapter 7 covers user mode processes and system calls. It extends the simple kernel of Chap. 5 to support additional process management functions, which include process creation, process termination, process synchronization and wait for child process termination. Then it extends the kernel to support user mode processes and system calls. It shows how to use memory management to provide each process with a private user mode virtual address space that is isolated from other processes and protected by the MMU hardware. It covers and demonstrates the various kinds of memory management schemes, which include one-level sections and two-level static and dynamic paging. In addition, it also covers the advanced concepts and techniques of fork, exec, vfork and threads. Then it shows how to use ramdisk and SD card as file systems to manage kernel and user mode images. It also shows how to develop booter programs to boot up the system kernel from SDC partitions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
ARM MMU: ARM926EJ-S, ARM946E-S Technical Reference Manuals, ARM Information Center 2008
Buttlar, D, Farrell, J, Nichols, B., “PThreads Programming, A POSIX Standard for Better Multiprocessing”, O’Reilly Media, 1996
Card, R., Theodore Ts’o, T., Stephen Tweedie, S., “Design and Implementation of the Second Extended Filesystem”, web.mit.edu/tytso/www/linux/ext2intro.html, 1995
Cao, M., Bhattacharya, S, Tso, T., “Ext4: The Next Generation of Ext2/3 File system”, IBM Linux Technology Center, 2007.
ELF: Tool Interface Standard (TIS) Executable and Linking Format (ELF) Specification Version 1.2, 1995
EXT2: www.nongnu.org/ext2-doc/ext2.html, 2001
Intel 64 and IA-32 Architectures Software Developer’s Manual, Volume 3, 1992
Intel i486 Processor Programmer’s Reference Manual, 1990
Linux Man pages: https://www.kernel.org/doc/man-pages, 2016
Pthreads: https://computing.llnl.gov/tutorials/pthreads, 2015
POSIX.1C, Threads extensions, IEEE Std 1003.1c, 1995
Silberschatz, A., P.A. Galvin, P.A., Gagne, G, “Operating system concepts, 8th Edition”, John Wiley & Sons, Inc. 2009
UBOOT, Das U-BOOT, http://www.denx.de/wiki/U-BootUboot, 2016
Wang, K.C., “Design and Implementation of the MTX Operating System”, Springer Publishing International AG, 2015
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this chapter
Cite this chapter
Wang, K.C. (2017). User Mode Process and System Calls. In: Embedded and Real-Time Operating Systems. Springer, Cham. https://doi.org/10.1007/978-3-319-51517-5_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-51517-5_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-51516-8
Online ISBN: 978-3-319-51517-5
eBook Packages: EngineeringEngineering (R0)