summary refs log tree commit diff stats
path: root/target/ppc/misc_helper.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2023-08-08 13:11:15 +1000
committerCédric Le Goater <clg@kaod.org>2023-09-06 11:19:32 +0200
commitd5ee641cfc5c3cbd51282d0c6e996f990b9d62a3 (patch)
tree0e56c8a818df259db2fb83a83db00c35d2a748a3 /target/ppc/misc_helper.c
parent14192307ef6e63c9a0f3c7fe937e26bee95bc6a9 (diff)
downloadfocaccia-qemu-d5ee641cfc5c3cbd51282d0c6e996f990b9d62a3.tar.gz
focaccia-qemu-d5ee641cfc5c3cbd51282d0c6e996f990b9d62a3.zip
target/ppc: Implement watchpoint debug facility for v2.07S
ISA v2.07S introduced the watchpoint facility based on the DAWR0
and DAWRX0 SPRs. Implement this in TCG.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'target/ppc/misc_helper.c')
-rw-r--r--target/ppc/misc_helper.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/ppc/misc_helper.c b/target/ppc/misc_helper.c
index 0b0f2e59a7..a05bdf78c9 100644
--- a/target/ppc/misc_helper.c
+++ b/target/ppc/misc_helper.c
@@ -204,6 +204,16 @@ void helper_store_ciabr(CPUPPCState *env, target_ulong value)
     ppc_store_ciabr(env, value);
 }
 
+void helper_store_dawr0(CPUPPCState *env, target_ulong value)
+{
+    ppc_store_dawr0(env, value);
+}
+
+void helper_store_dawrx0(CPUPPCState *env, target_ulong value)
+{
+    ppc_store_dawrx0(env, value);
+}
+
 /*
  * DPDES register is shared. Each bit reflects the state of the
  * doorbell interrupt of a thread of the same core.