Skip to contentSkip to conversation

bsd-user: fix FreeBSD build after d148d90e

PATCH Applied Ed Maste 2 participants 2 messages Oct 4, 2016 – Oct 7, 2016

lore
Share & tools
lore

Ed Maste

author
#0 lore raw

PATCH 1/1 bsd-user: fix FreeBSD build after d148d90e

---
 bsd-user/main.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
bsd-user/main.c +10 -0
index d803d3e..d8367bd 100644
@@ -695,6 +695,16 @@ static void usage(void)
 
 THREAD CPUState *thread_cpu;
 
+bool qemu_cpu_is_self(CPUState *cpu)
+{
+    return thread_cpu == cpu;
+}
+
+void qemu_cpu_kick(CPUState *cpu)
+{
+    cpu_exit(cpu);
+}
+
 /* Assumes contents are already zeroed.  */
 void init_task_state(TaskState *ts)
 {
Signature · 1 line
2.8.1