diff options
| author | Paolo Bonzini | 2016-10-24 11:19:49 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2017-01-16 17:52:35 +0100 |
| commit | 2f7b92a03f1e3813fc046d757138da519f4218d3 (patch) | |
| tree | 11a0a98df19801bc6bb992d6d416bd9dbd96f474 /include/hw | |
| parent | stubs: remove unused stub for serial_hd (diff) | |
| download | qemu-2f7b92a03f1e3813fc046d757138da519f4218d3.tar.gz qemu-2f7b92a03f1e3813fc046d757138da519f4218d3.tar.xz qemu-2f7b92a03f1e3813fc046d757138da519f4218d3.zip | |
hw: move reset handlers from vl.c to hw/core
They are small, it is not worth stubbing them. Just include them
in user-mode emulators and unit tests as well.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/hw.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/hw/hw.h b/include/hw/hw.h index 3669ebd916..e22d4ce5fa 100644 --- a/include/hw/hw.h +++ b/include/hw/hw.h @@ -12,11 +12,7 @@ #include "hw/irq.h" #include "migration/vmstate.h" #include "qemu/module.h" - -typedef void QEMUResetHandler(void *opaque); - -void qemu_register_reset(QEMUResetHandler *func, void *opaque); -void qemu_unregister_reset(QEMUResetHandler *func, void *opaque); +#include "sysemu/reset.h" void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); |
