struct jailhouse_memory mem_regions[13];
struct jailhouse_irqchip irqchips[1];
__u8 pio_bitmap[0x2000];
- struct jailhouse_pci_device pci_devices[8];
+ struct jailhouse_pci_device pci_devices[9];
struct jailhouse_pci_capability pci_caps[5];
} __attribute__((packed)) config = {
.header = {
[ 0x3b0/8 ... 0x3df/8] = 0, /* VGA */
[ 0x3e0/8 ... 0x3ef/8] = -1,
[ 0x3f0/8 ... 0x3f7/8] = 0, /* floppy */
- [ 0x3f8/8 ... 0x3ff/8] = -1,
+ [ 0x3f8/8 ... 0x3ff/8] = -1/*0*/,
[ 0x400/8 ... 0x407/8] = 0xfb, /* invalid but accessed by X */
[ 0x408/8 ... 0x5657/8] = -1,
[0x5658/8 ... 0x565f/8] = 0xf0, /* vmport */
.msix_region_size = 0x1000,
.msix_address = 0xfebf6000,
},
+ //added by me ---------------------------------
+ {
+ .type = JAILHOUSE_PCI_TYPE_IVSHMEM,
+ .domain = 0x0,
+ .bdf = (0x08<<3),
+ .bar_mask = {
+ 0xffffff00, 0xffffffff, 0x00000000,
+ 0x00000000, 0xffffffe0, 0xffffffff,
+ },
+ .shmem_region = 11,
+ .num_msix_vectors = 1,
+ },
+ //--------------------------------------------------
{
.type = JAILHOUSE_PCI_TYPE_IVSHMEM,
.domain = 0x0,
.shmem_region = 12,
.num_msix_vectors = 1,
},
+
},
.pci_caps = {