exec/memory: Use struct Object typedef
[qemu/ar7.git] / accel / tcg / tcg-accel-ops-rr.h
blob54f6ae6e867f9c28c23aad97e0f856cc673c2777
1 /*
2 * QEMU TCG Single Threaded vCPUs implementation
4 * Copyright 2020 SUSE LLC
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 */
10 #ifndef TCG_CPUS_RR_H
11 #define TCG_CPUS_RR_H
13 #define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10)
15 /* Kick all RR vCPUs. */
16 void rr_kick_vcpu_thread(CPUState *unused);
18 /* start the round robin vcpu thread */
19 void rr_start_vcpu_thread(CPUState *cpu);
21 #endif /* TCG_CPUS_RR_H */