diff options
Diffstat (limited to 'include/hw/hw.h')
-rw-r--r-- | include/hw/hw.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/hw/hw.h b/include/hw/hw.h new file mode 100644 index 000000000..fc5301f29 --- /dev/null +++ b/include/hw/hw.h @@ -0,0 +1,10 @@ +#ifndef QEMU_HW_H +#define QEMU_HW_H + +#ifdef CONFIG_USER_ONLY +#error Cannot include hw/hw.h from user emulation +#endif + +void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); + +#endif |