mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-28 12:32:05 -06:00
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>
This commit is contained in:
parent
1f8b0b6473
commit
60c9cec12c
2 changed files with 16 additions and 0 deletions
|
@ -40,6 +40,14 @@ struct AccelOpsClass {
|
||||||
void (*kick_vcpu_thread)(CPUState *cpu);
|
void (*kick_vcpu_thread)(CPUState *cpu);
|
||||||
bool (*cpu_thread_is_idle)(CPUState *cpu);
|
bool (*cpu_thread_is_idle)(CPUState *cpu);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* synchronize_post_reset:
|
||||||
|
* synchronize_post_init:
|
||||||
|
* @cpu: The vCPU to synchronize.
|
||||||
|
*
|
||||||
|
* Request to synchronize QEMU vCPU registers to the hardware accelerator
|
||||||
|
* (QEMU is the reference).
|
||||||
|
*/
|
||||||
void (*synchronize_post_reset)(CPUState *cpu);
|
void (*synchronize_post_reset)(CPUState *cpu);
|
||||||
void (*synchronize_post_init)(CPUState *cpu);
|
void (*synchronize_post_init)(CPUState *cpu);
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -28,6 +28,14 @@
|
||||||
void cpu_synchronize_state(CPUState *cpu);
|
void cpu_synchronize_state(CPUState *cpu);
|
||||||
void cpu_synchronize_pre_loadvm(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_reset(CPUState *cpu);
|
||||||
void cpu_synchronize_post_init(CPUState *cpu);
|
void cpu_synchronize_post_init(CPUState *cpu);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue