This is wrapper function to memmove function. This function takes size of two memory regions to avoid out of bound memory region.
Compares Len bytes between source and destination memory
Prototype
s32 Xil_SMemMove(void *Dest, const u32 DestSize, const void *Src, const u32 SrcSize, const u32 CopyLen);
Parameters
The following table lists the Xil_SMemMove function arguments.
| Type | Member | Description |
|---|---|---|
| void * | Dest | - Pointer to destination memory |
| const u32 | DestSize | - Memory available at destination |
| const void * | Src | - Pointer to source memory |
| const u32 | SrcSize | - Maximum data that can be copied from source |
| const u32 | CopyLen | - Number of bytes to be copied |