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