XilinxProcessorIPLib/drivers/aienginev2/src/io_backend/ext/xaie_baremetal.c
static AieRC XAie_BaremetalIO_Init(XAie_DevInst *DevInst)
{
	XAie_BaremetalIO *IOInst = &BaremetalIO;

	IOInst->BaseAddr = DevInst->BaseAddr;
	IOInst->NpiBaseAddr = XAIE_NPI_BASEADDR;
	DevInst->IOInst = IOInst;

	return XAIE_OK;
}
/*****************************************************************************/
/**
*
* This is the memory IO function to initialize the global IO instance
*
* @param	DevInst: Device instance pointer.
*
* @return	XAIE_OK on success. Error code on failure.
*
* @note		Internal only.
*
*******************************************************************************/
This is the memory IO function to initialize the global IO instance
This is the memory IO function to initialize the global IO instance
static AieRC XAie_BaremetalIO_Init(XAie_DevInst *DevInst)
{
	XAie_BaremetalIO *IOInst = &BaremetalIO;
	IOInst->BaseAddr = DevInst->BaseAddr;
	IOInst->NpiBaseAddr = XAIE_NPI_BASEADDR;
	DevInst->IOInst = IOInst;
	return XAIE_OK;
}
static AieRC XAie_BaremetalIO_Init ( XAie_DevInst * DevInst ) { XAie_BaremetalIO * IOInst = & BaremetalIO ; IOInst -> BaseAddr = DevInst -> BaseAddr ; IOInst -> NpiBaseAddr = XAIE_NPI_BASEADDR ; DevInst -> IOInst = IOInst ; return XAIE_OK ; }
This is the memory IO function to initialize the global IO instance
This is the memory IO function to initialize the global IO instance