1. process: struct task_struct link list.
address space
open files
other resources
different threads running in parallel
2. cpu context switch: process context/interrupt context
3. system calls:
-- printf() ---> libc: write()----> kernel
4. interrupt: identifyed by a number-IRQ: shared line.
intr vector table--> isr route(void). nested intr()/re-entrant intr()
5. Virtual filesystem
memory Maanagment
device drivers
platform specific: HAL
Kernel Synchronisation primitives
linux Files system, storage.
6. build kernel:
www.kernel.org
#make config/xconfig/menuconfig/gconfig
#make
#make modules
#make modules_install
#make install
7. debug
#crash /usr/lib/.../vmlinux
#kdump
#oops
#kdb, kgdb, kprobes, LKCD, diskdump, netdump
Tuesday, August 11, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment