- 嵌入式linux开发语言之LINUX – USER PROGRAMMING 培训
LINUX – USER PROGRAMMING 培训
课程大纲:
Introduction
Installing, Compiling and Booting the Linux kernel
• Kernel Configuration
• Kernel Build
• Kernel Images
• The Bootline
• The Root Filesystem
• Starting an Application after the Kernel Boot
Debugging
• gdb, remote gdb
• /proc directory
• Tracing Tools
• Eclipse framework
Basic shell commands
• Files commands
• Process commands
Labs
Process and Thread
• Process and thread definition
• Process creation
• Process scheduling
• Thread creation
• Thread scheduling
• Posix APIs (1003.1b, 1003.1c, 1003.1d)
• System V API (IPC System V)
• System calls error management
• Exception Management
Memory Management
• Memory map of a process
• Shared memory, local memory (for process and for threads)
• System V API for shared memory management
• Memory lock
• Mapping of a file descriptor in memory (mmap, …)
• Dynamic allocation of memory
Labs
Signals and Timing Management
• Posix and BSD signals Sept-09
• Asynchronous and synchronous signal
• Masking signals
• The BSD Timer
• Waiting for a Delay
• Performance measurements
• Date and Time management
Synchronization and mutual exclusion
• The synchronization problem
• The mutual exclusion problem
• The Posix 1003.1b counting semaphore
• The Posix 1003.1c mutex
• The Posix 1003.1c condition variable
• Priority inversion
• Deadlock
• Priority ceiling protocol
Message passing
• Shared memory
• The System V message queue
• The pipes
Labs
Input / Output
• The Posix standard layer
• The open, read, write, close, ioctl calls
• Locking files
• Asynchronous I/O
• The select call
• The ANSI stream (stdio) layer
TCP/IP Networking
• Generalities on TCP/IP
• UDP sockets
• TCP sockets
• IP (RAW) sockets
• Sockets options
Labs
"
|