aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa_sim.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_sim.c
parent98cec4a2e6d8bf72a2798036397049b5e906e49c (diff)
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_sim.c')
-rw-r--r--hw/xtensa_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c
index 445cfde217..c7e05dcf4e 100644
--- a/hw/xtensa_sim.c
+++ b/hw/xtensa_sim.c
@@ -47,7 +47,7 @@ static void sim_init(ram_addr_t ram_size,
const char *kernel_filename, const char *kernel_cmdline,
const char *initrd_filename, const char *cpu_model)
{
- CPUState *env = NULL;
+ CPUXtensaState *env = NULL;
MemoryRegion *ram, *rom;
int n;