summaryrefslogtreecommitdiffstats
path: root/include/qom/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qom/cpu.h')
-rw-r--r--include/qom/cpu.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/qom/cpu.h b/include/qom/cpu.h
index 51a1323..4b005ff 100644
--- a/include/qom/cpu.h
+++ b/include/qom/cpu.h
@@ -30,6 +30,8 @@
#include "qemu/thread.h"
#include "qemu/typedefs.h"
+#define typename QEMUtypename
+
typedef int (*WriteCoreDumpFunction)(const void *buf, size_t size,
void *opaque);
@@ -196,7 +198,7 @@ typedef struct CPUBreakpoint {
} CPUBreakpoint;
typedef struct CPUWatchpoint {
- vaddr vaddr;
+ vaddr addr;
vaddr len;
vaddr hitaddr;
MemTxAttrs hitattrs;
@@ -775,4 +777,7 @@ extern const struct VMStateDescription vmstate_cpu_common;
.offset = 0, \
}
+CPUState *cpu_create(void);
+#undef typename
+
#endif
OpenPOWER on IntegriCloud