]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
configs: Add bar_mask fields for ivshmem devices
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 18 May 2015 06:57:38 +0000 (08:57 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 22 May 2015 04:53:48 +0000 (06:53 +0200)
Will be used when moving BAR emulation to the PCI core.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
configs/ivshmem-demo.c
configs/qemu-vm.c

index 29dab4a2a98c8299c4c4e6c01494ad75ca08da5e..591d9eab43c16080f8e36eebe70df30d38e1a1d5 100644 (file)
@@ -74,6 +74,10 @@ struct {
                        .type = JAILHOUSE_PCI_TYPE_IVSHMEM,
                        .domain = 0x0,
                        .bdf = (0x0f<<3),
+                       .bar_mask = {
+                               0xffffff00, 0xffffffff, 0x00000000,
+                               0x00000000, 0xffffffe0, 0xffffffff,
+                       },
                        .shmem_region = 2,
                        .num_msix_vectors = 1,
                },
index 5b4f345d1a85bfe7225b7bbbf1470e8f7db37a6c..0890785478d4d7ebc9801bd7080d2e06165e6483 100644 (file)
@@ -250,6 +250,10 @@ struct {
                        .type = JAILHOUSE_PCI_TYPE_IVSHMEM,
                        .domain = 0x0,
                        .bdf = (0x0f<<3),
+                       .bar_mask = {
+                               0xffffff00, 0xffffffff, 0x00000000,
+                               0x00000000, 0xffffffe0, 0xffffffff,
+                       },
                        .shmem_region = 12,
                        .num_msix_vectors = 1,
                },