summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_sema_service.h
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 06:44:10 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-30 06:44:10 -0400
commitcbacce079c12378b1d210a5713eda4f4a03696e9 (patch)
tree08dc22532d0b14afa45790a15c3c7541fbac2a7b /kernel/gsp_sema_service.h
parent7cd1b17fc04cf20609ed9402cb3d466710e59eff (diff)
downloadopen-iov-cbacce079c12378b1d210a5713eda4f4a03696e9.tar.gz
open-iov-cbacce079c12378b1d210a5713eda4f4a03696e9.zip
sema-svc: destination-keyed copy watch (dump page-table writes)
sema_copy_dst=dumps the source bytes of every copy whose destination falls in the given page, so the 32-byte page-directory updates the guest writes into vidmem can be read directly and their entry encoding learned.
Diffstat (limited to 'kernel/gsp_sema_service.h')
-rw-r--r--kernel/gsp_sema_service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/gsp_sema_service.h b/kernel/gsp_sema_service.h
index 234ec2f..51397b9 100644
--- a/kernel/gsp_sema_service.h
+++ b/kernel/gsp_sema_service.h
@@ -100,6 +100,9 @@ extern unsigned gsp_sema_copy_watch;
/* Data-path watch: 8-byte value matched in copy src/dst and push bytes. */
extern u64 gsp_sema_copy_pat;
+/* Data-path watch: dump copies landing in this page (source bytes). */
+extern u64 gsp_sema_copy_dst;
+
/* CE pending-entry grace window in ms before the release fallback fires. */
extern unsigned gsp_sema_ce_grace_ms;