PCI express extended capabilities span a separate ID space. In order to
use the same jailhouse_pci_capability structure as for PCI capabilities
and also to avoid extending the ID field, reserve the highest bit 15 to
tag extended IDs. PCI so far only uses the lowest 5 bits and apparently
expands linearly, so we won't see any conflicts in the foreseeable
future.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
__u32 shmem_region;
} __attribute__((packed));
+#define JAILHOUSE_PCI_EXT_CAP 0x8000
+
#define JAILHOUSE_PCICAPS_WRITE 0x0001
struct jailhouse_pci_capability {