[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 09 of 16] amd iommu: add iommu mmio handler
# HG changeset patch # User Wei Wang <wei.wang2@xxxxxxx> # Date 1323875774 -3600 # Node ID f33af4d61321d074a4c624d909204fce5945f61b # Parent 52dbaf1fb0e0364fad40f9be330f80e157c935e4 amd iommu: add iommu mmio handler. Signed-off-by: Wei Wang <wei.wang2@xxxxxxx> diff -r 52dbaf1fb0e0 -r f33af4d61321 xen/arch/x86/hvm/intercept.c --- a/xen/arch/x86/hvm/intercept.c Wed Dec 14 16:16:13 2011 +0100 +++ b/xen/arch/x86/hvm/intercept.c Wed Dec 14 16:16:14 2011 +0100 @@ -38,7 +38,8 @@ hvm_mmio_handlers[HVM_MMIO_HANDLER_NR] = &hpet_mmio_handler, &vlapic_mmio_handler, &vioapic_mmio_handler, - &msixtbl_mmio_handler + &msixtbl_mmio_handler, + &iommu_mmio_handler }; static int hvm_mmio_access(struct vcpu *v, diff -r 52dbaf1fb0e0 -r f33af4d61321 xen/include/asm-x86/hvm/io.h --- a/xen/include/asm-x86/hvm/io.h Wed Dec 14 16:16:13 2011 +0100 +++ b/xen/include/asm-x86/hvm/io.h Wed Dec 14 16:16:14 2011 +0100 @@ -69,8 +69,9 @@ extern const struct hvm_mmio_handler hpe extern const struct hvm_mmio_handler vlapic_mmio_handler; extern const struct hvm_mmio_handler vioapic_mmio_handler; extern const struct hvm_mmio_handler msixtbl_mmio_handler; +extern const struct hvm_mmio_handler iommu_mmio_handler; -#define HVM_MMIO_HANDLER_NR 4 +#define HVM_MMIO_HANDLER_NR 5 int hvm_io_intercept(ioreq_t *p, int type); void register_io_handler( _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |