]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
configs: fiasco: Remove unused code. We don't use local apic on fee00000-fee000ff...
authorMaxim Baryshnikov <barysmax@fel.cvut.cz>
Thu, 12 May 2016 19:41:10 +0000 (21:41 +0200)
committerMaxim Baryshnikov <barysmax@fel.cvut.cz>
Thu, 12 May 2016 19:51:27 +0000 (21:51 +0200)
configs/fiasco-demo.c

index d7e9e6f7e41aa9f48bccaefa8b213eb8e0fe18ae..a775bebc8b5c965143992860f7bae1e4f914f981 100755 (executable)
@@ -20,7 +20,7 @@
 struct {
        struct jailhouse_cell_desc cell;
        __u64 cpus[1];
-       struct jailhouse_memory mem_regions[2]; 
+       struct jailhouse_memory mem_regions[1]; 
        struct jailhouse_irqchip irqchips[0];
        __u8 pio_bitmap[0x2000];
        struct jailhouse_pci_device pci_devices[0];
@@ -51,18 +51,10 @@ struct {
                                JAILHOUSE_MEM_EXECUTE | JAILHOUSE_MEM_DMA |
                                JAILHOUSE_MEM_LOADABLE,
                },
-               
-               /* MemRegion: fec00000-fecfffff : localAPIC */
-               {
-                       .phys_start = 0xfec00000,
-                       .virt_start = 0xfec00000,
-                       .size = 0x10000,
-                       .flags = JAILHOUSE_MEM_READ | JAILHOUSE_MEM_WRITE | JAILHOUSE_MEM_DMA,
-               },
        },
 
        .pio_bitmap = {
-               
+                       
                [     0/8 ...   0x3f/8] = -1,
                [  0x20/8 ...   0x28/8] = 0xfc, /* PIC Master 0x20 0x21 */
                [  0x29/8 ...   0x3f/8] = -1,                   
@@ -79,19 +71,4 @@ struct {
                [0xe010/8 ... 0xe017/8] = -1, /* OXPCIe952 serial1 */
                [0xe018/8 ... 0xffff/8] = -1,
        },
-
-
-       // .pci_devices = {
-       //      {
-       //              .type = JAILHOUSE_PCI_TYPE_IVSHMEM,
-       //              .domain = 0x0,
-       //              .bdf = (0x0f<<3),
-       //              .bar_mask = {
-       //                      0xffffff00, 0xffffffff, 0x00000000,
-       //                      0x00000000, 0xffffffe0, 0xffffffff,
-       //              },
-       //              .shmem_region = 3,
-       //              .num_msix_vectors = 1,
-       //      },
-       // },
 };