diff options
author | Andreas Färber <afaerber@suse.de> | 2012-03-14 01:38:23 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-03-14 22:20:26 +0100 |
commit | fc9bb1769706d4b3ac48e52d4639505bc1ce7392 (patch) | |
tree | 13e33c0cccde04c1ffa3bcfb3030da58a5d752f0 /hw/cris-boot.c | |
parent | 5ae93306826fba021a86355e5d91253c67c736bc (diff) | |
download | qemu-fc9bb1769706d4b3ac48e52d4639505bc1ce7392.zip qemu-fc9bb1769706d4b3ac48e52d4639505bc1ce7392.tar.gz qemu-fc9bb1769706d4b3ac48e52d4639505bc1ce7392.tar.bz2 |
cris hw/: Don't use CPUState
Scripted conversion:
for file in hw/cris-boot.[hc] hw/cris_pic_cpu.c hw/axis_dev88.c hw/etraxfs.h hw/etraxfs_ser.c; do
sed -i "s/CPUState/CPUCRISState/g" $file
done
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/cris-boot.c')
-rw-r--r-- | hw/cris-boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/cris-boot.c b/hw/cris-boot.c index ade517d..ca6c52f 100644 --- a/hw/cris-boot.c +++ b/hw/cris-boot.c @@ -29,7 +29,7 @@ static void main_cpu_reset(void *opaque) { - CPUState *env = opaque; + CPUCRISState *env = opaque; struct cris_load_info *li; li = env->load_info; @@ -60,7 +60,7 @@ static uint64_t translate_kernel_address(void *opaque, uint64_t addr) return addr - 0x80000000LL; } -void cris_load_image(CPUState *env, struct cris_load_info *li) +void cris_load_image(CPUCRISState *env, struct cris_load_info *li) { uint64_t entry, high; int kcmdline_len; |