blob: d5b11f60dbd073d9ae56efe67f38b3d03ba9ba5b [file] [log] [blame]
venkatesh.pallipadi@intel.come045fb22008-03-18 17:00:15 -07001#ifndef _ASM_X86_IO_H
2#define _ASM_X86_IO_H
3
venkatesh.pallipadi@intel.comb310f381d2008-03-18 17:00:24 -07004#define ARCH_HAS_IOREMAP_WC
5
Thomas Gleixner96a388d2007-10-11 11:20:03 +02006#ifdef CONFIG_X86_32
7# include "io_32.h"
8#else
9# include "io_64.h"
10#endif
venkatesh.pallipadi@intel.come045fb22008-03-18 17:00:15 -070011
12extern void *xlate_dev_mem_ptr(unsigned long phys);
13extern void unxlate_dev_mem_ptr(unsigned long phys, void *addr);
14
venkatesh.pallipadi@intel.com3a96ce82008-03-18 17:00:16 -070015extern int ioremap_change_attr(unsigned long vaddr, unsigned long size,
16 unsigned long prot_val);
Joe Perches1774a5b2008-03-23 01:02:25 -070017extern void __iomem *ioremap_wc(unsigned long offset, unsigned long size);
venkatesh.pallipadi@intel.com3a96ce82008-03-18 17:00:16 -070018
venkatesh.pallipadi@intel.come045fb22008-03-18 17:00:15 -070019#endif /* _ASM_X86_IO_H */