pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 1 | #ifndef QEMU_HW_H |
| 2 | #define QEMU_HW_H |
| 3 | |
Paolo Bonzini | 741da0d | 2014-06-27 08:40:04 +0200 | [diff] [blame] | 4 | #ifdef CONFIG_USER_ONLY |
| 5 | #error Cannot include hw/hw.h from user emulation |
Paul Brook | 1ad2134 | 2009-05-19 16:17:58 +0100 | [diff] [blame] | 6 | #endif |
| 7 | |
Marc-André Lureau | 9edc631 | 2022-02-20 20:39:25 +0400 | [diff] [blame] | 8 | void QEMU_NORETURN hw_error(const char *fmt, ...) G_GNUC_PRINTF(1, 2); |
Markus Armbruster | 0137fdc | 2016-03-09 12:19:37 +0100 | [diff] [blame] | 9 | |
pbrook | 87ecb68 | 2007-11-17 17:14:51 +0000 | [diff] [blame] | 10 | #endif |