https://github.com/torvalds/linux
Raw File
Tip revision: 192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d authored by Linus Torvalds on 04 March 2012, 01:08:09 UTC
Linux 3.3-rc6
Tip revision: 192cfd5
intr_remapping.h
#include <linux/intel-iommu.h>

struct ioapic_scope {
	struct intel_iommu *iommu;
	unsigned int id;
	unsigned int bus;	/* PCI bus number */
	unsigned int devfn;	/* PCI devfn number */
};

struct hpet_scope {
	struct intel_iommu *iommu;
	u8 id;
	unsigned int bus;
	unsigned int devfn;
};

#define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)
back to top