6cc9d67c6f
The primary motivation is to remove a dozen insns along the fast-path in tb_lookup. As a byproduct, this allows us to completely remove parallel_cpus. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
23 lines
553 B
C
23 lines
553 B
C
/*
|
|
* QEMU TCG vCPU common functionality
|
|
*
|
|
* Functionality common to all TCG vcpu variants: mttcg, rr and icount.
|
|
*
|
|
* Copyright 2020 SUSE LLC
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef TCG_CPUS_H
|
|
#define TCG_CPUS_H
|
|
|
|
#include "sysemu/cpus.h"
|
|
|
|
void tcg_cpus_destroy(CPUState *cpu);
|
|
int tcg_cpus_exec(CPUState *cpu);
|
|
void tcg_handle_interrupt(CPUState *cpu, int mask);
|
|
void tcg_cpu_init_cflags(CPUState *cpu, bool parallel);
|
|
|
|
#endif /* TCG_CPUS_H */
|