Xil_MemCpy64 - Xil_MemCpy64 - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

This function copies data from 64 bit address Src to 64 bit address Dst.

Copies data from 64 bit source address to 32 bit destination address

Note: This API is impacted by aliasing issues when handling SRC/DST addresses. This API will be deprecated from 2027.1. To ensure correct behavior, new APIs have been introduced that explicitly support correct 64-bit source and destination addressing. Users must migrate to Xil_MemCpyFrom64To32Addr() and Xil_MemCpyFrom32To64Addr().

Prototype

void Xil_MemCpy64(u64 DstAddr, u64 SrcAddr, u32 Cnt);

Parameters

The following table lists the Xil_MemCpy64 function arguments.

Table 1. Xil_MemCpy64 Arguments
Type Member Description
u64 DstAddr is the 64-bit destination address
u64 SrcAddr is the 64-bit source address
u32 Cnt is the number of bytes of data to be copied

Returns