hw.h 583 字节
Newer Older
P
pbrook 已提交
1 2 3 4
/* Declarations for use by hardware emulation.  */
#ifndef QEMU_HW_H
#define QEMU_HW_H

P
Paul Brook 已提交
5

6
#if !defined(CONFIG_USER_ONLY) && !defined(NEED_CPU_H)
7
#include "exec/cpu-common.h"
P
Paul Brook 已提交
8 9
#endif

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"
B
blueswir1 已提交
16

P
pbrook 已提交
17 18
typedef void QEMUResetHandler(void *opaque);

19
void qemu_register_reset(QEMUResetHandler *func, void *opaque);
J
Jan Kiszka 已提交
20
void qemu_unregister_reset(QEMUResetHandler *func, void *opaque);
P
pbrook 已提交
21

22 23
void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);

P
pbrook 已提交
24
#endif