mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00

Move the inclusion out of hw/hw.h, most files do not need it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
23 lines
579 B
C
23 lines
579 B
C
/* Declarations for use by hardware emulation. */
|
|
#ifndef QEMU_HW_H
|
|
#define QEMU_HW_H
|
|
|
|
#ifdef CONFIG_USER_ONLY
|
|
#error Cannot include hw/hw.h from user emulation
|
|
#endif
|
|
|
|
#include "exec/cpu-common.h"
|
|
#include "exec/ioport.h"
|
|
#include "hw/irq.h"
|
|
#include "block/aio.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);
|
|
|
|
void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
|
|
|
|
#endif
|