mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-16 06:31:51 -06:00
bsd-user: fix FreeBSD build after d148d90e
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>
This commit is contained in:
parent
e902754e3d
commit
48f592118a
1 changed files with 10 additions and 0 deletions
|
@ -695,6 +695,16 @@ static void usage(void)
|
||||||
|
|
||||||
THREAD CPUState *thread_cpu;
|
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. */
|
/* Assumes contents are already zeroed. */
|
||||||
void init_task_state(TaskState *ts)
|
void init_task_state(TaskState *ts)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue