2020-10-15 17:32:15 +03:00
|
|
|
/*
|
|
|
|
* QEMU TCG Single Threaded vCPUs implementation using instruction counting
|
|
|
|
*
|
|
|
|
* 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_ICOUNT_H
|
|
|
|
#define TCG_CPUS_ICOUNT_H
|
|
|
|
|
2020-10-15 17:32:17 +03:00
|
|
|
void icount_handle_deadline(void);
|
|
|
|
void icount_prepare_for_run(CPUState *cpu);
|
|
|
|
void icount_process_data(CPUState *cpu);
|
2020-10-15 17:32:15 +03:00
|
|
|
|
2021-02-04 19:39:25 +03:00
|
|
|
void icount_handle_interrupt(CPUState *cpu, int mask);
|
|
|
|
|
2020-10-15 17:32:15 +03:00
|
|
|
#endif /* TCG_CPUS_ICOUNT_H */
|