]> git.proxmox.com Git - mirror_qemu.git/blob - accel/tcg/tcg-accel-ops-icount.h
kvm: fix memory leak on failure to read stats descriptors
[mirror_qemu.git] / accel / tcg / tcg-accel-ops-icount.h
1 /*
2 * QEMU TCG Single Threaded vCPUs implementation using instruction counting
3 *
4 * Copyright 2020 SUSE LLC
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
9
10 #ifndef TCG_ACCEL_OPS_ICOUNT_H
11 #define TCG_ACCEL_OPS_ICOUNT_H
12
13 void icount_handle_deadline(void);
14 void icount_prepare_for_run(CPUState *cpu);
15 void icount_process_data(CPUState *cpu);
16
17 void icount_handle_interrupt(CPUState *cpu, int mask);
18
19 #endif /* TCG_ACCEL_OPS_ICOUNT_H */