aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa_lx60.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-03-14 01:38:24 +0100
committerAndreas Färber <afaerber@suse.de>2012-03-14 22:20:26 +0100
commit5bfcb36ec49192cb22f45f4b7ae805c530a1fd9e (patch)
tree959c3dd74be75d7d5483fcabb229947f8b83f809 /hw/xtensa_lx60.c
parent98cec4a2e6d8bf72a2798036397049b5e906e49c (diff)
downloadqemu-5bfcb36ec49192cb22f45f4b7ae805c530a1fd9e.zip
qemu-5bfcb36ec49192cb22f45f4b7ae805c530a1fd9e.tar.gz
qemu-5bfcb36ec49192cb22f45f4b7ae805c530a1fd9e.tar.bz2
xtensa hw/: Don't use CPUState
Scripted conversion: for file in hw/xtensa_*.[hc]; do sed -i "s/CPUState/CPUXtensaState/g" $file done Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/xtensa_lx60.c')
-rw-r--r--hw/xtensa_lx60.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c
index 80ba4d7..afdef49 100644
--- a/hw/xtensa_lx60.c
+++ b/hw/xtensa_lx60.c
@@ -148,7 +148,7 @@ static uint64_t translate_phys_addr(void *env, uint64_t addr)
static void lx60_reset(void *opaque)
{
- CPUState *env = opaque;
+ CPUXtensaState *env = opaque;
cpu_state_reset(env);
}
@@ -164,7 +164,7 @@ static void lx_init(const LxBoardDesc *board,
int be = 0;
#endif
MemoryRegion *system_memory = get_system_memory();
- CPUState *env = NULL;
+ CPUXtensaState *env = NULL;
MemoryRegion *ram, *rom, *system_io;
DriveInfo *dinfo;
pflash_t *flash = NULL;