summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_sema_service.h')
-rw-r--r--kernel/gsp_sema_service.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.h b/kernel/gsp_sema_service.h
index ba1da96..5a1c491 100644
--- a/kernel/gsp_sema_service.h
+++ b/kernel/gsp_sema_service.h
@@ -630,6 +630,17 @@ bool gsp_sema_gr_surf_recs(u64 *va, u32 *n);
u64 gsp_sema_mme_sa_get(u32 *entries, u32 n);
/*
+ * Golden SA completion (sema_gl_mme_sa_golden_fill): set the host-side
+ * START-ADDRESS RAM entry for `slot` to `entry` and mark it present, but
+ * only when the client's own table has no usable entry for the slot
+ * (absent, or present with entry 0). Returns true when the entry was
+ * filled, false when a nonzero client entry was kept (or slot out of
+ * range). The GR builder uses it to point the held window's CALL runs at
+ * the golden bodies the pack overlay wrote.
+ */
+bool gsp_sema_mme_sa_fill(u32 slot, u32 entry);
+
+/*
* SESSION 153-CONTINUED-101: the client's own SET_MME_SHADOW_SCRATCH(0x18)
* write (method 0x3460) - mmeCodeOGL_C597_SETUP_FIXED_CONST (slot 0) reads
* shadow scratch 0x18/0xd18 via STATE and emits it as the fixed-function