time.h
来自「Linux内核源代码 为压缩文件 是<<Linux内核>>」· C头文件 代码 · 共 39 行
H
39 行
/* * linux/include/asm-arm/arch-cl7500/time.h * * Copyright (c) 1996-2000 Russell King. * * 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 */static void timer_interrupt(int irq, void *dev_id, struct pt_regs *regs){ do_timer(regs); do_set_rtc(); { /* Twinkle the lights. */ static int count, state = 0xff; if (count-- == 0) { state ^= 1; count = 25; *((volatile unsigned int *)(0xe002ba00)) = state; } } do_profile(regs);}/* * Set up timer interrupt. */extern __inline__ void setup_timer(void){ timer_irq.handler = timer_interrupt; setup_arm_irq(IRQ_TIMER, &timer_irq);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?