docs: Document how to stream to an intermediate layer
[qemu.git] / include / hw / hw.h
blob3669ebd916b9b5a4770ed1906b0fbae92668e371
1 /* Declarations for use by hardware emulation. */
2 #ifndef QEMU_HW_H
3 #define QEMU_HW_H
5 #ifdef CONFIG_USER_ONLY
6 #error Cannot include hw/hw.h from user emulation
7 #endif
9 #include "exec/cpu-common.h"
10 #include "qom/object.h"
11 #include "exec/memory.h"
12 #include "hw/irq.h"
13 #include "migration/vmstate.h"
14 #include "qemu/module.h"
16 typedef void QEMUResetHandler(void *opaque);
18 void qemu_register_reset(QEMUResetHandler *func, void *opaque);
19 void qemu_unregister_reset(QEMUResetHandler *func, void *opaque);
21 void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
23 #endif