2020-07-06 20:39:45 +03:00
|
|
|
/*
|
2020-10-15 17:32:15 +03:00
|
|
|
* QEMU TCG vCPU common functionality
|
|
|
|
*
|
|
|
|
* Functionality common to all TCG vcpu variants: mttcg, rr and icount.
|
2020-07-06 20:39:45 +03:00
|
|
|
*
|
|
|
|
* 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"
|
|
|
|
|
2020-10-15 17:32:15 +03:00
|
|
|
extern const CpusAccel tcg_cpus_mttcg;
|
|
|
|
extern const CpusAccel tcg_cpus_icount;
|
|
|
|
extern const CpusAccel tcg_cpus_rr;
|
|
|
|
|
2020-10-15 17:32:17 +03:00
|
|
|
void tcg_cpus_destroy(CPUState *cpu);
|
|
|
|
int tcg_cpus_exec(CPUState *cpu);
|
|
|
|
void tcg_cpus_handle_interrupt(CPUState *cpu, int mask);
|
2020-07-06 20:39:45 +03:00
|
|
|
|
|
|
|
#endif /* TCG_CPUS_H */
|