time.h
来自「内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系」· C头文件 代码 · 共 32 行
H
32 行
/* * linux/include/asm-arm/arch-anakin/time.h * * Copyright (C) 2001 Aleph One Ltd. for Acunia N.V. * * 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: * 10-Apr-2001 TTC Created */#ifndef __ASM_ARCH_TIME_H#define __ASM_ARCH_TIME_Hstatic voidanakin_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs){ do_timer(regs);}static inline voidsetup_timer(void){ timer_irq.handler = anakin_timer_interrupt; timer_irq.flags = SA_INTERRUPT; setup_arm_irq(IRQ_TICK, &timer_irq);}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?