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