2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-23 19:51:46 +00:00

Added copy_phys_to_phys

This commit is contained in:
Michael Brown 2005-05-17 13:34:57 +00:00
parent 4f27994980
commit 479fb900a1

View File

@ -54,6 +54,11 @@ static inline void copy_from_phys ( void *dest, physaddr_t src, size_t len ) {
memcpy ( dest, phys_to_virt ( src ), len );
}
static inline void copy_phys_to_phys ( physaddr_t dest, physaddr_t src,
size_t len ) {
memcpy ( phys_to_virt ( dest ), phys_to_virt ( src ), len );
}
#else /* KEEP_IT_REAL */
/*