mirror of https://gitee.com/openkylin/linux.git
13 lines
291 B
C
13 lines
291 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_IOMMU_H
|
|
#define _ASM_X86_IOMMU_H
|
|
|
|
extern int force_iommu, no_iommu;
|
|
extern int iommu_detected;
|
|
extern int iommu_pass_through;
|
|
|
|
/* 10 seconds */
|
|
#define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
|
|
|
|
#endif /* _ASM_X86_IOMMU_H */
|