1e00b8d57a
Remove usage of NEED_CPU_H from hw/hw.h. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
25 lines
583 B
C
25 lines
583 B
C
/* Declarations for use by hardware emulation. */
|
|
#ifndef QEMU_HW_H
|
|
#define QEMU_HW_H
|
|
|
|
|
|
#if !defined(CONFIG_USER_ONLY) && !defined(NEED_CPU_H)
|
|
#include "exec/cpu-common.h"
|
|
#endif
|
|
|
|
#include "exec/ioport.h"
|
|
#include "hw/irq.h"
|
|
#include "block/aio.h"
|
|
#include "migration/vmstate.h"
|
|
#include "qemu/log.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
|