aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vioapic.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-10 10:47:37 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-10 10:47:37 +0100
commit69f646a61b1b083df1526e7bd2b679aad5fefc34 (patch)
tree941f3c9da01f9a3e794ab4226c5099e5e00d9858 /xen/include/asm-x86/hvm/vioapic.h
parentf5cbcc33d2d8a0437fc99cd65af4acad2d438e18 (diff)
downloadxen-69f646a61b1b083df1526e7bd2b679aad5fefc34.tar.gz
xen-69f646a61b1b083df1526e7bd2b679aad5fefc34.tar.bz2
xen-69f646a61b1b083df1526e7bd2b679aad5fefc34.zip
[HVM] Fix some IOAPIC and LAPIC device model bugs.
Fix some boundary checking errors. Fix the confusion using variables 'level' and 'trig_mode'. Also fix some other misc mistakes and do some cleanup. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/vioapic.h')
-rw-r--r--xen/include/asm-x86/hvm/vioapic.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/xen/include/asm-x86/hvm/vioapic.h b/xen/include/asm-x86/hvm/vioapic.h
index 6b72f95e5d..72c758c133 100644
--- a/xen/include/asm-x86/hvm/vioapic.h
+++ b/xen/include/asm-x86/hvm/vioapic.h
@@ -86,11 +86,6 @@ typedef union RedirStatus
} RedirForm;
} RedirStatus;
-#define IOAPIC_MEM_LENGTH 0x100
-#define IOAPIC_ENABLE_MASK 0x0
-#define IOAPIC_ENABLE_FLAG (1 << IOAPIC_ENABLE_MASK)
-#define MAX_LAPIC_NUM 32
-
typedef struct hvm_vioapic {
uint32_t irr;
uint32_t isr; /* This is used for level trigger */