1 /* Declarations for use by hardware emulation. */
6 #if !defined(CONFIG_USER_ONLY) && !defined(NEED_CPU_H)
7 #include "exec/cpu-common.h"
10 #include "exec/ioport.h"
12 #include "block/aio.h"
13 #include "migration/vmstate.h"
15 #include "qemu/module.h"
17 typedef void QEMUResetHandler(void *opaque
);
19 void qemu_register_reset(QEMUResetHandler
*func
, void *opaque
);
20 void qemu_unregister_reset(QEMUResetHandler
*func
, void *opaque
);
22 void QEMU_NORETURN
hw_error(const char *fmt
, ...) GCC_FMT_ATTR(1, 2);