| 1 | #ifndef QEMU_HW_H |
|---|---|
| 2 | #define QEMU_HW_H |
| 3 | |
| 4 | #ifdef CONFIG_USER_ONLY |
| 5 | #error Cannot include hw/hw.h from user emulation |
| 6 | #endif |
| 7 | |
| 8 | void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); |
| 9 | |
| 10 | #endif |
| 11 |
| 1 | #ifndef QEMU_HW_H |
|---|---|
| 2 | #define QEMU_HW_H |
| 3 | |
| 4 | #ifdef CONFIG_USER_ONLY |
| 5 | #error Cannot include hw/hw.h from user emulation |
| 6 | #endif |
| 7 | |
| 8 | void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); |
| 9 | |
| 10 | #endif |
| 11 |