XilinxProcessorIPLib/drivers/mcdma/src/xmcdma_bd.c
void XMcDma_DumpBd(XMcdma_Bd* BdPtr)
{

	xil_printf("Dump BD %x:\r\n", (UINTPTR)BdPtr);
	xil_printf("\tNext Bd Ptr: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_NDESC_OFFSET));
	xil_printf("\tBuff addr: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_BUFA_OFFSET));
	xil_printf("\tContrl Contents: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_CTRL_OFFSET));
	xil_printf("\tStatus: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_STS_OFFSET));
	xil_printf("\tSideband Status: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_SIDEBAND_STS_OFFSET));

	xil_printf("\tAPP 0: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR0_OFFSET));
	xil_printf("\tAPP 1: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR1_OFFSET));
	xil_printf("\tAPP 2: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR2_OFFSET));
	xil_printf("\tAPP 3: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR3_OFFSET));
	xil_printf("\tAPP 4: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR4_OFFSET));

	xil_printf("\r\n");
}
/*****************************************************************************/
/**
* Dump the fields of a BD.
*
* @param	BdPtr is the BD to operate on.
*
* @return	None
*
*
*****************************************************************************/
Dump the fields of a BD.
Dump the fields of a BD .
void XMcDma_DumpBd(XMcdma_Bd* BdPtr)
{
	xil_printf("Dump BD %x:\r\n", (UINTPTR)BdPtr);
	xil_printf("\tNext Bd Ptr: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_NDESC_OFFSET));
	xil_printf("\tBuff addr: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_BUFA_OFFSET));
	xil_printf("\tContrl Contents: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_CTRL_OFFSET));
	xil_printf("\tStatus: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_STS_OFFSET));
	xil_printf("\tSideband Status: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_SIDEBAND_STS_OFFSET));
	xil_printf("\tAPP 0: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR0_OFFSET));
	xil_printf("\tAPP 1: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR1_OFFSET));
	xil_printf("\tAPP 2: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR2_OFFSET));
	xil_printf("\tAPP 3: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR3_OFFSET));
	xil_printf("\tAPP 4: %x\r\n",
	    (unsigned int)XMcdma_BdRead(BdPtr, XMCDMA_BD_USR4_OFFSET));
	xil_printf("\r\n");
}
void XMcDma_DumpBd ( XMcdma_Bd * BdPtr ) { xil_printf ( " \r \n " , ( UINTPTR ) BdPtr ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_NDESC_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_BUFA_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_CTRL_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_STS_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_SIDEBAND_STS_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_USR0_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_USR1_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_USR2_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_USR3_OFFSET ) ) ; xil_printf ( " \t \r \n " , ( unsigned int ) XMcdma_BdRead ( BdPtr , XMCDMA_BD_USR4_OFFSET ) ) ; xil_printf ( " \r \n " ) ; }
Dump the fields of a BD.
Dump the fields of a BD .