hw.h (33c11879fd422b759483ed25fef133ea900ea8d7) | hw.h (03dd024ff57733a55cd2e455f361d053c81b1b29) |
---|---|
1/* Declarations for use by hardware emulation. */ 2#ifndef QEMU_HW_H 3#define QEMU_HW_H 4 5#ifdef CONFIG_USER_ONLY 6#error Cannot include hw/hw.h from user emulation 7#endif 8 9#include "exec/cpu-common.h" 10#include "exec/ioport.h" 11#include "hw/irq.h" 12#include "block/aio.h" 13#include "migration/vmstate.h" | 1/* Declarations for use by hardware emulation. */ 2#ifndef QEMU_HW_H 3#define QEMU_HW_H 4 5#ifdef CONFIG_USER_ONLY 6#error Cannot include hw/hw.h from user emulation 7#endif 8 9#include "exec/cpu-common.h" 10#include "exec/ioport.h" 11#include "hw/irq.h" 12#include "block/aio.h" 13#include "migration/vmstate.h" |
14#include "qemu/log.h" | |
15#include "qemu/module.h" 16 17typedef void QEMUResetHandler(void *opaque); 18 19void qemu_register_reset(QEMUResetHandler *func, void *opaque); 20void qemu_unregister_reset(QEMUResetHandler *func, void *opaque); 21 22void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); 23 24#endif | 14#include "qemu/module.h" 15 16typedef void QEMUResetHandler(void *opaque); 17 18void qemu_register_reset(QEMUResetHandler *func, void *opaque); 19void qemu_unregister_reset(QEMUResetHandler *func, void *opaque); 20 21void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); 22 23#endif |