summary refs log tree commit diff stats
path: root/include/system/hw_accel.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-06-16 16:09:23 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-04 12:08:41 +0200
commit60c9cec12c99e47fb2c82ad5dca36c9441b623dc (patch)
tree8f47ef0c6f1411bbef1669beb7f2f4ed40d8e170 /include/system/hw_accel.h
parent1f8b0b64736e978120753e63c51921573962a54c (diff)
downloadfocaccia-qemu-60c9cec12c99e47fb2c82ad5dca36c9441b623dc.tar.gz
focaccia-qemu-60c9cec12c99e47fb2c82ad5dca36c9441b623dc.zip
accel/system: Document cpu_synchronize_state_post_init/reset()
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20250703173248.44995-24-philmd@linaro.org>
Diffstat (limited to '')
-rw-r--r--include/system/hw_accel.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/system/hw_accel.h b/include/system/hw_accel.h
index 574c973840..fa9228d5d2 100644
--- a/include/system/hw_accel.h
+++ b/include/system/hw_accel.h
@@ -28,6 +28,14 @@
 void cpu_synchronize_state(CPUState *cpu);
 void cpu_synchronize_pre_loadvm(CPUState *cpu);
 
+/**
+ * cpu_synchronize_post_reset:
+ * cpu_synchronize_post_init:
+ * @cpu: The vCPU to synchronize.
+ *
+ * Request to synchronize QEMU vCPU registers to the hardware accelerator
+ * (QEMU is the reference).
+ */
 void cpu_synchronize_post_reset(CPUState *cpu);
 void cpu_synchronize_post_init(CPUState *cpu);