URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [x86_64/] [lib/] [iodebug.c] - Rev 1765
Compare with Previous | Blame | View Log
#include <asm/io.h> void * __io_virt_debug(unsigned long x, const char *file, int line) { if (x < PAGE_OFFSET) { printk("io mapaddr 0x%05lx not valid at %s:%d!\n", x, file, line); return __va(x); } return (void *)x; } unsigned long __io_phys_debug(unsigned long x, const char *file, int line) { if (x < PAGE_OFFSET) { printk("io mapaddr 0x%05lx not valid at %s:%d!\n", x, file, line); return x; } return __pa(x); }