- bullseye 1.7-2+b1
|CXL_GET_IMAGE_LOADED(3)||CXL Programmer's Manual||CXL_GET_IMAGE_LOADED(3)|
cxl_get_image_loaded - returns which of the user and factory PSL images is currently loaded on the CXL device
int cxl_get_image_loaded(struct cxl_adapter_h *adapter, enum cxl_image *valp);
cxl_get_image_loaded() copies which of the user and factory PSL images is current ly loaded on the CXL device adapter to the long integer pointed to by valp. The enum cxl_image value will be CXL_IMAGE_FACTORY or CXL_IMAGE_USER.
On success, 0 is returned. On error, -1 is returned and errno is set appropriately.
cxl(3), cxl_adapter_next(3), cxl_get_base_image(3), cxl_get_caia_version(3), cxl_get_psl_revision(3), cxl_get_psl_timebase_synced(3), cxl_get_tunneled_ops_supported(3)