]> rtime.felk.cvut.cz Git - jailhouse.git/blobdiff - configs/tiny-demo.c
Merge remote-tracking branch 'kiszka/master'
[jailhouse.git] / configs / tiny-demo.c
index b3f612b555515c048d8784e3c2140fbdbbd3a5a0..71515a4d1228a1335e0152d5e008d1d03f517d1b 100644 (file)
@@ -21,6 +21,7 @@ struct {
        struct jailhouse_cell_desc cell;
        __u64 cpus[1];
        struct jailhouse_memory mem_regions[2];
+       struct jailhouse_cache cache_regions[1];
        __u8 pio_bitmap[0x2000];
 } __attribute__((packed)) config = {
        .cell = {
@@ -30,6 +31,7 @@ struct {
 
                .cpu_set_size = sizeof(config.cpus),
                .num_memory_regions = ARRAY_SIZE(config.mem_regions),
+               .num_cache_regions = ARRAY_SIZE(config.cache_regions),
                .num_irqchips = 0,
                .pio_bitmap_size = ARRAY_SIZE(config.pio_bitmap),
                .num_pci_devices = 0,
@@ -55,6 +57,14 @@ struct {
                },
        },
 
+       .cache_regions = {
+               {
+                       .start = 2,
+                       .size = 1,
+                       .type = JAILHOUSE_CACHE_L3,
+               },
+       },
+
        .pio_bitmap = {
                [     0/8 ...  0x2f7/8] = -1,
                [ 0x2f8/8 ...  0x2ff/8] = 0, /* serial2 */