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