mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-27 23:55:42 +00:00
c5730ff194
We know there will be cases where MTTCG won't work until additional work is done in the front/back ends to support. It will however be useful to be able to turn it on. As a result MTTCG will default to off unless the combination is supported. However the user can turn it on for the sake of testing. Backports commit 8d4e9146b3568022ea5730d92841345d41275d66 from qemu
23 lines
404 B
C
23 lines
404 B
C
#ifndef QEMU_CPUS_H
|
|
#define QEMU_CPUS_H
|
|
|
|
struct uc_struct;
|
|
|
|
/* cpus.c */
|
|
int resume_all_vcpus(struct uc_struct*);
|
|
void cpu_stop_current(struct uc_struct*);
|
|
|
|
#ifndef CONFIG_USER_ONLY
|
|
/* vl.c */
|
|
extern int smp_cores;
|
|
extern int smp_threads;
|
|
#else
|
|
/* *-user doesn't have configurable SMP topology */
|
|
#define smp_cores 1
|
|
#define smp_threads 1
|
|
#endif
|
|
|
|
void qemu_tcg_configure(struct uc_struct *uc);
|
|
|
|
#endif
|