xref: /openbmc/qemu/accel/tcg/tcg-accel-ops.h (revision 2df1eb27)
1 /*
2  * QEMU TCG vCPU common functionality
3  *
4  * Functionality common to all TCG vcpu variants: mttcg, rr and icount.
5  *
6  * Copyright 2020 SUSE LLC
7  *
8  * This work is licensed under the terms of the GNU GPL, version 2 or later.
9  * See the COPYING file in the top-level directory.
10  */
11 
12 #ifndef TCG_ACCEL_OPS_H
13 #define TCG_ACCEL_OPS_H
14 
15 #include "sysemu/cpus.h"
16 
17 void tcg_cpu_destroy(CPUState *cpu);
18 int tcg_cpu_exec(CPUState *cpu);
19 void tcg_handle_interrupt(CPUState *cpu, int mask);
20 void tcg_cpu_init_cflags(CPUState *cpu, bool parallel);
21 
22 #endif /* TCG_ACCEL_OPS_H */
23