XilinxProcessorIPLib/drivers/aiengine/src/lib/ext/xaieio.c
void XAieIO_MemFree(XAieIO_Mem *IO_MemInstPtr)
{
	metal_bitmap_clear_bit(IOInst.shm_ids, IO_MemInstPtr->id);
	metal_shm_detach(IO_MemInstPtr->shm, IOInst.device);
	metal_shmem_close(IO_MemInstPtr->shm);
	metal_free_memory(IO_MemInstPtr);
	XAieIO_Finish();
}
/*****************************************************************************/
/**
*
* This is the IO memory function to free the memory
*
* @param	IO_MemInstPtr: IO Memory instance pointer.
*
* @return	None.
*
* @note		None.
*
*******************************************************************************/
This is the IO memory function to free the memory
This is the IO memory function to free the memory
void XAieIO_MemFree(XAieIO_Mem *IO_MemInstPtr)
{
	metal_bitmap_clear_bit(IOInst.shm_ids, IO_MemInstPtr->id);
	metal_shm_detach(IO_MemInstPtr->shm, IOInst.device);
	metal_shmem_close(IO_MemInstPtr->shm);
	metal_free_memory(IO_MemInstPtr);
	XAieIO_Finish();
}
void XAieIO_MemFree ( XAieIO_Mem * IO_MemInstPtr ) { metal_bitmap_clear_bit ( IOInst . shm_ids , IO_MemInstPtr -> id ) ; metal_shm_detach ( IO_MemInstPtr -> shm , IOInst . device ) ; metal_shmem_close ( IO_MemInstPtr -> shm ) ; metal_free_memory ( IO_MemInstPtr ) ; XAieIO_Finish ( ) ; }
This is the IO memory function to free the memory
This is the IO memory function to free the memory