lib/sw_services/xilplmi/src/xplmi_err.c
static void XPlmi_DumpRegisters(void)
{
	XPlmi_Printf(DEBUG_GENERAL, "============Register Dump============\n\r");

	XPlmi_Printf(DEBUG_GENERAL, "PMC_TAP_IDCODE: 0x%08x\n\r",
		XPlmi_In32(PMC_TAP_IDCODE));
	XPlmi_Printf(DEBUG_GENERAL, "EFUSE_CACHE_IP_DISABLE_0(EXTENDED IDCODE): "
			"0x%08x\n\r",
		XPlmi_In32(EFUSE_CACHE_IP_DISABLE_0));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_TAP_VERSION: 0x%08x\n\r",
		XPlmi_In32(PMC_TAP_VERSION));
	XPlmi_Printf(DEBUG_GENERAL, "CRP_BOOT_MODE_USER: 0x%08x\n\r",
		XPlmi_In32(CRP_BOOT_MODE_USER));
	XPlmi_Printf(DEBUG_GENERAL, "CRP_BOOT_MODE_POR: 0x%08x\n\r",
		XPlmi_In32(CRP_BOOT_MODE_POR));
	XPlmi_Printf(DEBUG_GENERAL, "CRP_RESET_REASON: 0x%08x\n\r",
		XPlmi_In32(CRP_RESET_REASON));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PMC_MULTI_BOOT: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PMC_MULTI_BOOT));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PWR_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PWR_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PMC_GSW_ERR: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PMC_GSW_ERR));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PLM_ERR: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PLM_ERR));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PMC_ERR1_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PMC_ERR1_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PMC_ERR2_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PMC_ERR2_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP0_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP0_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP1_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP1_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP2_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP2_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP3_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP3_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP4_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP4_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP_PMC_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP_PMC_IRQ_STATUS));

	XPlmi_Printf(DEBUG_GENERAL, "============Register Dump============\n\r");
}
/*****************************************************************************/
/**
 * @brief	This function dumps the registers which can help debugging.
 *
 * @return	None
 *
 *****************************************************************************/
@brief       This function dumps the registers which can help debugging.
@return      None
@brief This function dumps the registers which can help debugging . @return None
static void XPlmi_DumpRegisters(void)
{
	XPlmi_Printf(DEBUG_GENERAL, "============Register Dump============\n\r");
	XPlmi_Printf(DEBUG_GENERAL, "PMC_TAP_IDCODE: 0x%08x\n\r",
		XPlmi_In32(PMC_TAP_IDCODE));
	XPlmi_Printf(DEBUG_GENERAL, "EFUSE_CACHE_IP_DISABLE_0(EXTENDED IDCODE): "
			"0x%08x\n\r",
		XPlmi_In32(EFUSE_CACHE_IP_DISABLE_0));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_TAP_VERSION: 0x%08x\n\r",
		XPlmi_In32(PMC_TAP_VERSION));
	XPlmi_Printf(DEBUG_GENERAL, "CRP_BOOT_MODE_USER: 0x%08x\n\r",
		XPlmi_In32(CRP_BOOT_MODE_USER));
	XPlmi_Printf(DEBUG_GENERAL, "CRP_BOOT_MODE_POR: 0x%08x\n\r",
		XPlmi_In32(CRP_BOOT_MODE_POR));
	XPlmi_Printf(DEBUG_GENERAL, "CRP_RESET_REASON: 0x%08x\n\r",
		XPlmi_In32(CRP_RESET_REASON));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PMC_MULTI_BOOT: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PMC_MULTI_BOOT));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PWR_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PWR_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PMC_GSW_ERR: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PMC_GSW_ERR));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PLM_ERR: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PLM_ERR));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PMC_ERR1_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PMC_ERR1_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_PMC_ERR2_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_PMC_ERR2_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP0_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP0_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP1_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP1_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP2_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP2_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP3_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP3_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP4_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP4_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "PMC_GLOBAL_GICP_PMC_IRQ_STATUS: 0x%08x\n\r",
		XPlmi_In32(PMC_GLOBAL_GICP_PMC_IRQ_STATUS));
	XPlmi_Printf(DEBUG_GENERAL, "============Register Dump============\n\r");
}
static void XPlmi_DumpRegisters ( void ) { XPlmi_Printf ( DEBUG_GENERAL , " \n \r " ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_TAP_IDCODE ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " " " \n \r " , XPlmi_In32 ( EFUSE_CACHE_IP_DISABLE_0 ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_TAP_VERSION ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( CRP_BOOT_MODE_USER ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( CRP_BOOT_MODE_POR ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( CRP_RESET_REASON ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_PMC_MULTI_BOOT ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_PWR_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_PMC_GSW_ERR ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_PLM_ERR ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_PMC_ERR1_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_PMC_ERR2_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_GICP0_IRQ_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_GICP1_IRQ_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_GICP2_IRQ_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_GICP3_IRQ_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_GICP4_IRQ_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " , XPlmi_In32 ( PMC_GLOBAL_GICP_PMC_IRQ_STATUS ) ) ; XPlmi_Printf ( DEBUG_GENERAL , " \n \r " ) ; }
@brief       This function dumps the registers which can help debugging.
@brief This function dumps the registers which can help debugging .