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:
parent
4f27994980
commit
479fb900a1
@ -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 */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user