unicorn/qemu/include/sysemu/cpus.h

23 lines
404 B
C
Raw Normal View History

2015-08-21 09:04:50 +02:00
#ifndef QEMU_CPUS_H
#define QEMU_CPUS_H
struct uc_struct;
/* cpus.c */
int resume_all_vcpus(struct uc_struct*);
2015-08-21 09:04:50 +02:00
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);
2015-08-21 09:04:50 +02:00
#endif