?? time.c.txt
字號:
any question, send email to netxiong@263.net
相關文件:
/kernel/timer.c
timer_interrupt() needs to keep up the real-time clock,
as well as call the "do_timer()" routine every clocktick
該文件相對應于i386的體系結構,每當一個時鐘滴答過后,都要調用/kernel/timer.c中的do_timer將jiffies值增加一,同時 mark_bh(TIMER_BH).
**********************************基本函數(shù)**********************************************
(1):static void timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
#時鐘中斷處理程序
#調用do_timer_interrupt(irq, NULL, regs);
(2):static inline void do_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
#調用 do_timer(regs);
****************************************************************************************
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -