From 228699131bf0ecf8ec41c1207a0d9c07db286e04 Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Tue, 25 Sep 2018 15:45:36 +0800 Subject: [PATCH] HV: Add the definition of VECTOR_HYPERVISOR_CALLBACK_VHM It is from the HYPERVISOR_CALLBACK_VECTOR in sos_kernel. After this vector is used in both kernel and hypervisor, this will be defined as the default vector. Tracked-On: https://github.com/projectacrn/acrn-hypervisor/issues/1325 Signed-off-by: Zhao Yakui Acked-by: Eddie Dong --- hypervisor/include/arch/x86/irq.h | 1 + 1 file changed, 1 insertion(+) diff --git a/hypervisor/include/arch/x86/irq.h b/hypervisor/include/arch/x86/irq.h index 93dce4e54..ec165b835 100644 --- a/hypervisor/include/arch/x86/irq.h +++ b/hypervisor/include/arch/x86/irq.h @@ -21,6 +21,7 @@ #define VECTOR_NOTIFY_VCPU 0xF0U #define VECTOR_VIRT_IRQ_VHM 0xF7U #define VECTOR_SPURIOUS 0xFFU +#define VECTOR_HYPERVISOR_CALLBACK_VHM 0xF3U /* the maximum number of msi entry is 2048 according to PCI * local bus specification