ioasic.h

来自「内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系」· C头文件 代码 · 共 25 行

H
25
字号
/* *  linux/asm-mips/dec/ioasic.h * *  Copyright (C) 2000  Maciej W. Rozycki * *  DEC I/O ASIC access operations. */#ifndef __ASM_DEC_IOASIC_H#define __ASM_DEC_IOASIC_Hextern volatile unsigned int *ioasic_base;extern inline void ioasic_write(unsigned int reg, unsigned int v){	ioasic_base[reg / 4] = v;}extern inline unsigned int ioasic_read(unsigned int reg){	return ioasic_base[reg / 4];}#endif /* __ASM_DEC_IOASIC_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?