📄 io.h
字号:
/* * linux/include/asm-arm/arch-sa1100/io.h * * Copyright (C) 1997-1999 Russell King * * Modifications: * 06-12-1997 RMK Created. * 07-04-1999 RMK Major cleanup */#ifndef __ASM_ARM_ARCH_IO_H#define __ASM_ARM_ARCH_IO_H#define IO_SPACE_LIMIT 0xffffffff/* * We don't actually have real ISA nor PCI buses, but there is so many * drivers out there that might just work if we fake them... */#define __io(a) (PCIO_BASE + (a))#define __mem_pci(a) ((unsigned long)(a))#define __mem_isa(a) ((unsigned long)(a))/* * Generic virtual read/write */#define __arch_getw(a) (*(volatile unsigned short *)(a))#define __arch_putw(v,a) (*(volatile unsigned short *)(a) = (v))#define iomem_valid_addr(iomem,sz) (1)#define iomem_to_phys(iomem) (iomem)#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -