CXL_MMIO_UNMAP(3)

NAME
cxl_mmio_unmap - unmap an AFU Problem State Area

SYNOPSIS
#include <libcxl.h>

int cxl_mmio_unmap(struct cxl_afu_h *afu);

DESCRIPTION
cxl_mmio_map() unmaps the AFU Problem State Area of afu.

RETURN VALUE
On success, 0 is returned. On error, -1 is returned and errno is set appropriately.

ERRORS

EINVAL
    Invalid argument value, or unmapped AFU Problem State Area

SEE ALSO
cxl(3), cxl_get_mmio_size(3), cxl_mmio_map(3), cxl_mmio_ptr(3), cxl_mmio_read32(3), cxl_mmio_read64(3), cxl_mmio_write32(3), cxl_mmio_write64(3), munmap(3)