📄 delay.h
字号:
#ifndef _I386_DELAY_H#define _I386_DELAY_H#ifdef OSKIT/* A few drivers bogusly include <asm/delay.h> instead of <linux/delay.h>. */#include <linux/delay.h>#else/* * Copyright (C) 1993 Linus Torvalds * * Delay routines calling functions in arch/i386/lib/delay.c */extern void __udelay(unsigned long usecs);extern void __const_udelay(unsigned long usecs);extern void __delay(unsigned long loops);#define udelay(n) (__builtin_constant_p(n) ? \ __const_udelay((n) * 0x10c6ul) : \ __udelay(n))#ifdef OSKIT/* * Not used as a delay anymore. */extern __inline__ unsigned longmuldiv(unsigned long a, unsigned long b, unsigned long c){ return a * b / c;}#endif#endif#endif /* defined(_I386_DELAY_H) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -