projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e902754
)
bsd-user: fix FreeBSD build after d148d90e
author
Ed Maste
<emaste@freebsd.org>
Tue, 4 Oct 2016 20:02:49 +0000
(16:02 -0400)
committer
Peter Maydell
<peter.maydell@linaro.org>
Fri, 7 Oct 2016 14:17:53 +0000
(15:17 +0100)
Signed-off-by: Ed Maste <emaste@freebsd.org>
Message-id:
1475611369
-74971-1-git-send-email-emaste@freebsd.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
bsd-user/main.c
patch
|
blob
|
history
diff --git
a/bsd-user/main.c
b/bsd-user/main.c
index d803d3e10ceda755f95494403e21d975d75e1391..d8367bda4677b0ca9613e8f1269ed81683ba747a 100644
(file)
--- a/
bsd-user/main.c
+++ b/
bsd-user/main.c
@@
-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)
{