diff options
Diffstat (limited to 'accel/tcg/tcg-accel-ops.h')
-rw-r--r-- | accel/tcg/tcg-accel-ops.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/accel/tcg/tcg-accel-ops.h b/accel/tcg/tcg-accel-ops.h new file mode 100644 index 000000000..6a5fcef88 --- /dev/null +++ b/accel/tcg/tcg-accel-ops.h @@ -0,0 +1,22 @@ +/* + * 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 */ |