xref: /qemu/include/hw/hw.h (revision e7febd959740d45c0fc07ce63d834815483afaa0)
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 void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
10 
11 #endif
12