IMPORT_C TAny *wordmove(TAny *aTrg, const TAny *aSrc, unsigned int aLength);
Description
A Nanokernel utility function that moves (copies) bytes in memory.
The function assumes that the addresses are aligned on word boundaries, and that the length value is a multiple of 4.
Parameters
TAny *aTrg |
The target address.
|
const TAny *aSrc |
The source address.
|
unsigned int aLength |
The number of bytes to be moved.
|
|
Return value
TAny *
|
The target address.
|
|
Panic codes
USER |
91 In debug mode only, if aLength is not a multiple of 4, and the function is called on the user side.
|
KERN-COMMON |
91 In debug mode only, if aLength is not a multiple of 4, and the function is called on the kernel side.
|
USER |
92 In debug mode only, if aSrc is not aligned on a word boundary, and the function is called on the user side.
|
KERN-COMMON |
92 In debug mode only, if aSrc is not aligned on a word boundary, and the function is called on the kernel side.
|
USER |
93 In debug mode only, if aTrg is not aligned on a word boundary, and the function is called on the user side.
|
KERN-COMMON |
93 In debug mode only, if aTrg is not aligned on a word boundary, and the function is called on the kernel side.
|
|