time.h
来自「这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自」· C头文件 代码 · 共 35 行
H
35 行
/* * linux/include/asm-arm/arch-arc/time.h * * Copyright (C) 1996-2000 Russell King. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Changelog: * 24-Sep-1996 RMK Created * 10-Oct-1996 RMK Brought up to date with arch-sa110eval * 04-Dec-1997 RMK Updated for new arch/arm/time.c */extern void ioctime_init(void);static void timer_interrupt(int irq, void *dev_id, struct pt_regs *regs){ do_timer(regs); do_set_rtc(); do_profile(regs);}/* * Set up timer interrupt. */static inline void setup_timer(void){ ioctime_init(); timer_irq.handler = timer_interrupt; setup_arm_irq(IRQ_TIMER, &timer_irq);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?