]> rtime.felk.cvut.cz Git - jailhouse.git/blobdiff - hypervisor/arch/x86/include/asm/cell.h
Merge remote-tracking branch 'kiszka/master'
[jailhouse.git] / hypervisor / arch / x86 / include / asm / cell.h
index 02a4f706608625a506ac8463cf96ad9d901f9273..2223532a39c93f13cd7f771e646ea3da276b742e 100644 (file)
@@ -36,8 +36,8 @@ struct arch_cell {
                struct {
                        /** I/O Permissions Map. */
                        u8 *iopm;
-                       /** Paging structures used for cell CPUs. */
-                       struct paging_structures npt_structs;
+                       /** Paging structures used for cell CPUs and IOMMU. */
+                       struct paging_structures npt_iommu_structs;
                } svm; /**< AMD SVM-specific fields. */
        };
 
@@ -49,7 +49,6 @@ struct arch_cell {
                         * cell. */
                        bool ir_emulation;
                } vtd; /**< Intel VT-d specific fields. */
-               /* TODO: No struct vtd equivalent for SVM code yet. */
        };
 
        /** Shadow value of PCI config space address port register. */
@@ -59,6 +58,11 @@ struct arch_cell {
        struct cell_ioapic *ioapics;
        /** Number of assigned IOAPICs. */
        unsigned int num_ioapics;
+
+       /** Class Of Service for cache allocation (Intel only). */
+       u32 cos;
+       /** Allocated L3 cache region (Intel only). */
+       u64 cat_mask;
 };
 
 #endif /* !_JAILHOUSE_ASM_CELL_H */