KasperskyOS Community Edition 1.1
[Topic libkos_iommu]

KnIommuAttachDevice()

This function is declared in the coresrv/iommu/iommu_api.h file.

Retcode KnIommuAttachDevice(rtl_uint16_t bdf);

This function adds the PCI device with the bdf identifier to the IOMMU group of the calling process (IOMMU domain).

Returns rcOk if successful.

Page top
[Topic kn_iommu_attach_device]

KnIommuDetachDevice()

This function is declared in the coresrv/iommu/iommu_api.h file.

Retcode KnIommuDetachDevice(rtl_uint16_t bdf);

This function removes the PCI device with the bdf identifier from the IOMMU group of the calling process (IOMMU domain).

If successful, the function returns rcOk.

Page top
[Topic kn_iommu_detach_device]