aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/apicdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/apicdef.h')
-rw-r--r--include/asm-x86/apicdef.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/include/asm-x86/apicdef.h b/include/asm-x86/apicdef.h
index 5f7abe9b5f87..550af7a6f88e 100644
--- a/include/asm-x86/apicdef.h
+++ b/include/asm-x86/apicdef.h
@@ -116,13 +116,18 @@
116#define APIC_TDR_DIV_32 0x8 116#define APIC_TDR_DIV_32 0x8
117#define APIC_TDR_DIV_64 0x9 117#define APIC_TDR_DIV_64 0x9
118#define APIC_TDR_DIV_128 0xA 118#define APIC_TDR_DIV_128 0xA
119 119#define APIC_EILVT0 0x500
120#define K8_APIC_EXT_LVT_BASE 0x500 120#define APIC_EILVT_NR_AMD_K8 1 /* Number of extended interrupts */
121#define K8_APIC_EXT_INT_MSG_FIX 0x0 121#define APIC_EILVT_NR_AMD_10H 4
122#define K8_APIC_EXT_INT_MSG_SMI 0x2 122#define APIC_EILVT_LVTOFF(x) (((x)>>4)&0xF)
123#define K8_APIC_EXT_INT_MSG_NMI 0x4 123#define APIC_EILVT_MSG_FIX 0x0
124#define K8_APIC_EXT_INT_MSG_EXT 0x7 124#define APIC_EILVT_MSG_SMI 0x2
125#define K8_APIC_EXT_LVT_ENTRY_THRESHOLD 0 125#define APIC_EILVT_MSG_NMI 0x4
126#define APIC_EILVT_MSG_EXT 0x7
127#define APIC_EILVT_MASKED (1<<16)
128#define APIC_EILVT1 0x510
129#define APIC_EILVT2 0x520
130#define APIC_EILVT3 0x530
126 131
127#define APIC_BASE (fix_to_virt(FIX_APIC_BASE)) 132#define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
128 133