summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_booter.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_phys_booter.h')
-rw-r--r--kernel/gsp_phys_booter.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/gsp_phys_booter.h b/kernel/gsp_phys_booter.h
index e46fb86..29cf07f 100644
--- a/kernel/gsp_phys_booter.h
+++ b/kernel/gsp_phys_booter.h
@@ -362,6 +362,12 @@ struct gsp_phys_gr_inline {
u8 data[GSP_PHYS_GR_INLINE_BYTES];
};
+/* m99: one guest data page identity-mapped into the engine's page tree. */
+struct gsp_phys_gr_data_page {
+ u64 va; /* guest VA, page aligned */
+ u64 hpa; /* host PA, page aligned */
+};
+
struct gsp_phys_gr_submit {
const u32 *qmd; /* 64 rewritten-QMD source words */
u32 qmd_words; /* must be GSP_PHYS_GR_QMD_WORDS */
@@ -382,6 +388,8 @@ struct gsp_phys_gr_submit {
u32 n_pages;
const struct gsp_phys_gr_inline *inl;
u32 n_inl;
+ const struct gsp_phys_gr_data_page *data; /* m99: identity pages */
+ u32 n_data;
u64 rel_hpa; /* guest-visible QMD release0 page, or 0 */
u32 rel_off;
u32 rel_payload;