1. use helppc to check the assemble instructions.
2. 内核调度代码 linux /kernel /sched.c
3. linux jiffies include/linux/jiffies.h
4. 微内核(Microkernel kernel) VS 单内核(Monolithic kernel)
5. 可编程间隔定时器 PIT 8253/8254 http://lxr.linux.no/#linux+v2.6.32/arch/mips/kernel/i8253.c
6. udelay
40 void
41 udelay (unsigned long usecs )
42 {
43 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ ;
44 __delay ((long)usecs >> 32);
45 }
46 EXPORT_SYMBOL (udelay );
47
48 void
49 ndelay (unsigned long nsecs )
50 {
51 nsecs *= (((unsigned long)HZ << 32) / 1000000000) * LPJ ;
52 __delay ((long)nsecs >> 32);
53 }
7. 键盘 i8042与i8048键盘控制器芯片端口操作总结 http://hi.baidu.com/elevin/blog/item/ce99cd2af471b024d42af1f6.html
本文探讨了Linux内核中的关键调度代码与定时机制,包括jiffies的使用、微内核与单内核的区别,以及可编程间隔定时器PIT的工作原理。同时,介绍了内核中的延时函数udelay与ndelay的实现方式。
69

被折叠的 条评论
为什么被折叠?



