]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not directly applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Thu, 12 Aug 2021 19:46:05 +0000 (12:46 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Thu, 12 Aug 2021 19:46:05 +0000 (12:46 -0700)
open-vm-tools/lib/include/vmci_defs.h

index 1f00c1acce353e734d700204f1ea979cc30b7f7e..3023f6ee47e3af92a2a581b8e8a10d7644edb14f 100644 (file)
@@ -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
 
 
 /*