accel/tcg: Introduce TCGCPUOps.cpu_exec_reset
Initialize all instances with cpu_reset(), so that there is no functional change. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
81ef6a2295
commit
9181ab4528
21 changed files with 23 additions and 1 deletions
|
|
@ -155,6 +155,8 @@ struct TCGCPUOps {
|
|||
void (*do_interrupt)(CPUState *cpu);
|
||||
/** @cpu_exec_interrupt: Callback for processing interrupts in cpu_exec */
|
||||
bool (*cpu_exec_interrupt)(CPUState *cpu, int interrupt_request);
|
||||
/** @cpu_exec_reset: Callback for reset in cpu_exec. */
|
||||
void (*cpu_exec_reset)(CPUState *cpu);
|
||||
/**
|
||||
* @cpu_exec_halt: Callback for handling halt in cpu_exec.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue