2008-03-19 00:00:15 +00:00
|
|
|
#ifndef _ASM_X86_IO_H
|
|
|
|
#define _ASM_X86_IO_H
|
|
|
|
|
2008-03-19 00:00:24 +00:00
|
|
|
#define ARCH_HAS_IOREMAP_WC
|
|
|
|
|
2007-10-11 09:20:03 +00:00
|
|
|
#ifdef CONFIG_X86_32
|
|
|
|
# include "io_32.h"
|
|
|
|
#else
|
|
|
|
# include "io_64.h"
|
|
|
|
#endif
|
2008-03-19 00:00:15 +00:00
|
|
|
|
|
|
|
extern void *xlate_dev_mem_ptr(unsigned long phys);
|
|
|
|
extern void unxlate_dev_mem_ptr(unsigned long phys, void *addr);
|
|
|
|
|
2008-03-19 00:00:16 +00:00
|
|
|
extern int ioremap_change_attr(unsigned long vaddr, unsigned long size,
|
|
|
|
unsigned long prot_val);
|
2008-03-23 08:02:25 +00:00
|
|
|
extern void __iomem *ioremap_wc(unsigned long offset, unsigned long size);
|
2008-03-19 00:00:16 +00:00
|
|
|
|
2008-03-19 00:00:15 +00:00
|
|
|
#endif /* _ASM_X86_IO_H */
|