/* Set this bit to mark the last descriptor in the receive buffer descriptor list. */
static void XEmacPs_BdSetRxWrap(UINTPTR BdPtr)
/* Set this bit to mark the last descriptor in the receive buffer descriptor list. */
static void XEmacPs_BdSetRxWrap(UINTPTR BdPtr)
{
    u32 DataValueRx;
	u32 *TempPtr;
	BdPtr += (u32)(XEMACPS_BD_ADDR_OFFSET);
	TempPtr = (u32 *)BdPtr;
	if(TempPtr != NULL) {
		DataValueRx = *TempPtr;
		DataValueRx |= XEMACPS_RXBUF_WRAP_MASK;
		*TempPtr = DataValueRx;
	}
}