OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [x86_64/] [lib/] [io.c] - Rev 1765

Compare with Previous | Blame | View Log

#include <linux/string.h>
#include <linux/module.h>
#include <asm/io.h>
 
void *memcpy_toio(void *dst,const void*src,unsigned len)
{
	return __inline_memcpy(__io_virt(dst),src,len);
}
 
void *memcpy_fromio(void *dst,const void*src,unsigned len)
{
	return __inline_memcpy(dst,__io_virt(src),len);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.