This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 1. 1. 1. 1. Linux source tree structure Linux source tree structure Linux source tree structure Linux source tree structure Source tree root: /usr/src/kernels/ (from v2.6) kernel : Source code for task manager, scheduling, signal handling, arch/$(ARCH)/kernel- hardware dependent task manager, context switching, thread management (e.g., i386, arm. power pc) arch : arch/x86/boot : boot strapping code arch/x86/lib: library for kernel arch/x86/math-emu: PFU(Floating Point Unit) emulator fs: opn() read() write() , ext2, ext3, ext4, nfs, ufs, msdos, vfat, proc, devfs, ntfs, reiserfs, zfs, etc mm: memory management driver: driver manager net : use sources in driver directory, network management ipc: inter process communication: message passing, shared memory, pipe is in fs, signal is in kernel, sockets in net (UNIX domain, INET domain) init: for kernel initialization functions H/W independent initialization Under arch/$(ARCH)/kernel head.S, mics.c are responsible for H/W initialization and...
View Full Document
- Spring '12