mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 20:38:28 +00:00
20 lines
356 B
C
20 lines
356 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
|
|
|
|
#endif
|