venkatesh.pallipadi@intel.com | e045fb2 | 2008-03-18 17:00:15 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_IO_H |
| 2 | #define _ASM_X86_IO_H |
| 3 | |
venkatesh.pallipadi@intel.com | b310f381d | 2008-03-18 17:00:24 -0700 | [diff] [blame] | 4 | #define ARCH_HAS_IOREMAP_WC |
| 5 | |
Thomas Gleixner | 96a388d | 2007-10-11 11:20:03 +0200 | [diff] [blame] | 6 | #ifdef CONFIG_X86_32 |
| 7 | # include "io_32.h" |
| 8 | #else |
| 9 | # include "io_64.h" |
| 10 | #endif |
venkatesh.pallipadi@intel.com | e045fb2 | 2008-03-18 17:00:15 -0700 | [diff] [blame] | 11 | |
| 12 | extern void *xlate_dev_mem_ptr(unsigned long phys); |
| 13 | extern void unxlate_dev_mem_ptr(unsigned long phys, void *addr); |
| 14 | |
venkatesh.pallipadi@intel.com | 3a96ce8 | 2008-03-18 17:00:16 -0700 | [diff] [blame] | 15 | extern int ioremap_change_attr(unsigned long vaddr, unsigned long size, |
| 16 | unsigned long prot_val); |
Joe Perches | 1774a5b | 2008-03-23 01:02:25 -0700 | [diff] [blame] | 17 | extern void __iomem *ioremap_wc(unsigned long offset, unsigned long size); |
venkatesh.pallipadi@intel.com | 3a96ce8 | 2008-03-18 17:00:16 -0700 | [diff] [blame] | 18 | |
venkatesh.pallipadi@intel.com | e045fb2 | 2008-03-18 17:00:15 -0700 | [diff] [blame] | 19 | #endif /* _ASM_X86_IO_H */ |