ASM and Process 杂项

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,delay)