lib/sw_apps/libmetal_echo_demo/src/system/freertos/zynqmp_r5/zynqmp_amp_demo/sys_init.c
void close_metal_devices(void)
{
	/* Close shared memory device */
	if (shm_dev)
		metal_device_close(shm_dev);

	/* Close IPI device */
	if (ipi_dev)
		metal_device_close(ipi_dev);

	/* Close TTC device */
	if (ttc_dev)
		metal_device_close(ttc_dev);
}
/**
 * @brief close_metal_devices() - close libmetal devices
 *        This function closes all the libmetal devices which have
 *        been opened.
 *
 */
@brief close_metal_devices() - close libmetal devices
This function closes all the libmetal devices which have
been opened.
@brief close_metal_devices () - close libmetal devices This function closes all the libmetal devices which have been opened .
void close_metal_devices(void)
{
	if (shm_dev)
		metal_device_close(shm_dev);
	if (ipi_dev)
		metal_device_close(ipi_dev);
	if (ttc_dev)
		metal_device_close(ttc_dev);
}
void close_metal_devices ( void ) { if ( shm_dev ) metal_device_close ( shm_dev ) ; if ( ipi_dev ) metal_device_close ( ipi_dev ) ; if ( ttc_dev ) metal_device_close ( ttc_dev ) ; }
@brief close_metal_devices() - close libmetal devices
        This function closes all the libmetal devices which have
        been opened.
@brief close_metal_devices () - close libmetal devices This function closes all the libmetal devices which have been opened .
/* Close shared memory device */ /* Close IPI device */ /* Close TTC device */