Browse Source
Some stubs are used for user-mode emulation only; they are not needed by tools. Move them out of stubs/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>pull/47/head
6 changed files with 37 additions and 48 deletions
@ -1,11 +0,0 @@ |
|||
#include "qemu/osdep.h" |
|||
#include "qemu-common.h" |
|||
#include "qom/cpu.h" |
|||
|
|||
void cpu_resume(CPUState *cpu) |
|||
{ |
|||
} |
|||
|
|||
void qemu_init_vcpu(CPUState *cpu) |
|||
{ |
|||
} |
|||
@ -1,33 +0,0 @@ |
|||
/*
|
|||
* replay.c |
|||
* |
|||
* Copyright (c) 2010-2015 Institute for System Programming |
|||
* of the Russian Academy of Sciences. |
|||
* |
|||
* This work is licensed under the terms of the GNU GPL, version 2 or later. |
|||
* See the COPYING file in the top-level directory. |
|||
* |
|||
*/ |
|||
|
|||
#include "qemu/osdep.h" |
|||
#include "sysemu/replay.h" |
|||
|
|||
bool replay_exception(void) |
|||
{ |
|||
return true; |
|||
} |
|||
|
|||
bool replay_has_exception(void) |
|||
{ |
|||
return false; |
|||
} |
|||
|
|||
bool replay_interrupt(void) |
|||
{ |
|||
return true; |
|||
} |
|||
|
|||
bool replay_has_interrupt(void) |
|||
{ |
|||
return false; |
|||
} |
|||
@ -0,0 +1,34 @@ |
|||
#include "qemu/osdep.h" |
|||
#include "qemu-common.h" |
|||
#include "qom/cpu.h" |
|||
#include "sysemu/replay.h" |
|||
|
|||
void cpu_resume(CPUState *cpu) |
|||
{ |
|||
} |
|||
|
|||
void qemu_init_vcpu(CPUState *cpu) |
|||
{ |
|||
} |
|||
|
|||
/* User mode emulation does not support record/replay yet. */ |
|||
|
|||
bool replay_exception(void) |
|||
{ |
|||
return true; |
|||
} |
|||
|
|||
bool replay_has_exception(void) |
|||
{ |
|||
return false; |
|||
} |
|||
|
|||
bool replay_interrupt(void) |
|||
{ |
|||
return true; |
|||
} |
|||
|
|||
bool replay_has_interrupt(void) |
|||
{ |
|||
return false; |
|||
} |
|||
Loading…
Reference in new issue