提交 cb159821 编写于 作者: A Andreas Färber

target-sparc: Typedef struct CPUSPARCState early

Will be needed for qemu_irq_ack callback.
Signed-off-by: NAndreas Färber <afaerber@suse.de>
Reviewed-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 9b9a970a
......@@ -378,7 +378,9 @@ struct QEMUFile;
void cpu_put_timer(struct QEMUFile *f, CPUTimer *s);
void cpu_get_timer(struct QEMUFile *f, CPUTimer *s);
typedef struct CPUSPARCState {
typedef struct CPUSPARCState CPUSPARCState;
struct CPUSPARCState {
target_ulong gregs[8]; /* general registers */
target_ulong *regwptr; /* pointer to current register window */
target_ulong pc; /* program counter */
......@@ -503,7 +505,7 @@ typedef struct CPUSPARCState {
/* Leon3 cache control */
uint32_t cache_control;
} CPUSPARCState;
};
#ifndef NO_CPU_IO_DEFS
/* cpu_init.c */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册