io.h

来自「Linux Kernel 2.6.9 for OMAP1710」· C头文件 代码 · 共 26 行

H
26
字号
#ifndef __UM_IO_H#define __UM_IO_H#include "asm/page.h"#define IO_SPACE_LIMIT 0xdeadbeef /* Sure hope nothing uses this */static inline int inb(unsigned long i) { return(0); }static inline void outb(char c, unsigned long i) { }/* * Change virtual addresses to physical addresses and vv. * These are pretty trivial */static inline unsigned long virt_to_phys(volatile void * address){	return __pa((void *) address);}static inline void * phys_to_virt(unsigned long address){	return __va(address);}#endif

⌨️ 快捷键说明

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