diff --git a/arch/x86/kernel/cpu.c b/arch/x86/kernel/cpu.c index 01d5f0f5..cf14bd91 100644 --- a/arch/x86/kernel/cpu.c +++ b/arch/x86/kernel/cpu.c @@ -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 diff --git a/lib/include/ihk/cpu.h b/lib/include/ihk/cpu.h index e32b4633..45330769 100644 --- a/lib/include/ihk/cpu.h +++ b/lib/include/ihk/cpu.h @@ -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)