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.
|
|
|
|
*/
|
|
|
|
|
2022-05-06 16:49:08 +03:00
|
|
|
#ifndef TCG_ACCEL_OPS_H
|
|
|
|
#define TCG_ACCEL_OPS_H
|
2020-07-06 20:39:45 +03:00
|
|
|
|
|
|
|
#include "sysemu/cpus.h"
|
|
|
|
|
2024-01-24 13:16:32 +03:00
|
|
|
void tcg_cpu_destroy(CPUState *cpu);
|
2024-01-24 13:16:33 +03:00
|
|
|
int tcg_cpu_exec(CPUState *cpu);
|
2021-02-04 19:39:25 +03:00
|
|
|
void tcg_handle_interrupt(CPUState *cpu, int mask);
|
2021-03-02 06:21:08 +03:00
|
|
|
void tcg_cpu_init_cflags(CPUState *cpu, bool parallel);
|
2020-07-06 20:39:45 +03:00
|
|
|
|
2022-05-06 16:49:08 +03:00
|
|
|
#endif /* TCG_ACCEL_OPS_H */
|