⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 time.c.txt

📁 一个很好的LINUX源代码分析笔记
💻 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).

**********************************基本函数**********************************************
(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 + -