move out local IRQ vector definitions to shared header

This commit is contained in:
Balazs Gerofi
2017-05-05 05:11:15 +09:00
parent a669fc5125
commit ba7edf1981
2 changed files with 4 additions and 2 deletions

View File

@ -42,8 +42,6 @@
#define LAPIC_ICR0 0x300
#define LAPIC_ICR2 0x310
#define LAPIC_ESR 0x280
#define LOCAL_TIMER_VECTOR 0xef
#define LOCAL_PERF_VECTOR 0xf0
#define APIC_INT_LEVELTRIG 0x08000
#define APIC_INT_ASSERT 0x04000

View File

@ -103,6 +103,10 @@ enum ihk_asr_type {
IHK_ASR_X86_GS,
};
/* Local IRQ vectors */
#define LOCAL_TIMER_VECTOR 0xef
#define LOCAL_PERF_VECTOR 0xf0
#define IHK_TLB_FLUSH_IRQ_VECTOR_START 68
#define IHK_TLB_FLUSH_IRQ_VECTOR_SIZE 64
#define IHK_TLB_FLUSH_IRQ_VECTOR_END (IHK_TLB_FLUSH_IRQ_VECTOR_START + IHK_TLB_FLUSH_IRQ_VECTOR_SIZE)