From: John Wolfe Date: Thu, 12 Aug 2021 19:46:05 +0000 (-0700) Subject: Common header file change not directly applicable to open-vm-tools. X-Git-Tag: stable-12.0.0~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d9fd68f5513b683aae855d30a2da4d4e4f72a7;p=thirdparty%2Fopen-vm-tools.git Common header file change not directly applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vmci_defs.h b/open-vm-tools/lib/include/vmci_defs.h index 1f00c1acc..3023f6ee4 100644 --- a/open-vm-tools/lib/include/vmci_defs.h +++ b/open-vm-tools/lib/include/vmci_defs.h @@ -79,10 +79,12 @@ extern "C" { /* Interrupt Cause register bits. */ #define VMCI_ICR_DATAGRAM 0x1 #define VMCI_ICR_NOTIFICATION 0x2 +#define VMCI_ICR_INOUT 0x4 /* Interrupt Mask register bits. */ #define VMCI_IMR_DATAGRAM 0x1 #define VMCI_IMR_NOTIFICATION 0x2 +#define VMCI_IMR_INOUT 0x4 /* Interrupt type. */ typedef enum VMCIIntrType { @@ -94,7 +96,9 @@ typedef enum VMCIIntrType { /* * Maximum MSI/MSI-X interrupt vectors in the device. */ -#define VMCI_MAX_INTRS 2 +#define VMCI_MAX_INTRS_NOTIFICATION 2 +#define VMCI_MAX_INTRS_INOUT 3 +#define VMCI_MAX_INTRS VMCI_MAX_INTRS_INOUT /* * Supported interrupt vectors. There is one for each ICR value above, @@ -102,6 +106,7 @@ typedef enum VMCIIntrType { */ #define VMCI_INTR_DATAGRAM 0 #define VMCI_INTR_NOTIFICATION 1 +#define VMCI_INTR_INOUT 2 /*