elf2dmp/qemu_elf: Plug memleak in QEMU_Elf_init
[qemu/ar7.git] / accel / tcg / tcg-cpus.h
blobd6893a32f8b9f8c2b1141ad5fb862d1d859b0d71
1 /*
2 * QEMU TCG vCPU common functionality
4 * Functionality common to all TCG vcpu variants: mttcg, rr and icount.
6 * Copyright 2020 SUSE LLC
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.
12 #ifndef TCG_CPUS_H
13 #define TCG_CPUS_H
15 #include "sysemu/cpus.h"
17 extern const CpusAccel tcg_cpus_mttcg;
18 extern const CpusAccel tcg_cpus_icount;
19 extern const CpusAccel tcg_cpus_rr;
21 void tcg_cpus_destroy(CPUState *cpu);
22 int tcg_cpus_exec(CPUState *cpu);
23 void tcg_cpus_handle_interrupt(CPUState *cpu, int mask);
25 #endif /* TCG_CPUS_H */