diff options
-rw-r--r-- | linux-user/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 7a056fc..6e14010 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -3777,6 +3777,16 @@ void cpu_loop(CPUTLGState *env) THREAD CPUState *thread_cpu; +bool qemu_cpu_is_self(CPUState *cpu) +{ + return thread_cpu == cpu; +} + +void qemu_cpu_kick(CPUState *cpu) +{ + cpu_exit(cpu); +} + void task_settid(TaskState *ts) { if (ts->ts_tid == 0) { |