AMD IOMMU: add event handling code

This patch adds code for polling and printing out events generated by
the AMD IOMMU.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Joerg Roedel
2008-09-09 16:41:05 +02:00
committed by Ingo Molnar
parent a80dc3e0e0
commit 90008ee4b8
3 changed files with 108 additions and 2 deletions

View File

@@ -32,7 +32,6 @@
/*
* definitions for the ACPI scanning code
*/
#define PCI_BUS(x) (((x) >> 8) & 0xff)
#define IVRS_HEADER_LENGTH 48
#define ACPI_IVHD_TYPE 0x10