diff options
author | Andreas Färber <afaerber@suse.de> | 2012-03-14 01:38:22 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-03-14 22:20:25 +0100 |
commit | 6393c08de23548be82d53ad462ed5acad107da1f (patch) | |
tree | 85eb387443c2785afa9ad4dc30501c7149e240cb /target-lm32/op_helper.c | |
parent | 317ac6201a22b32a376c42205338e49ea195194e (diff) | |
download | qemu-6393c08de23548be82d53ad462ed5acad107da1f.zip qemu-6393c08de23548be82d53ad462ed5acad107da1f.tar.gz qemu-6393c08de23548be82d53ad462ed5acad107da1f.tar.bz2 |
target-lm32: Don't overuse CPUState
Scripted conversion:
sed -i "s/CPUState/CPULM32State/g" target-lm32/*.[hc]
sed -i "s/#define CPULM32State/#define CPUState/" target-lm32/cpu.h
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-lm32/op_helper.c')
-rw-r--r-- | target-lm32/op_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-lm32/op_helper.c b/target-lm32/op_helper.c index 02be134..e9c9638 100644 --- a/target-lm32/op_helper.c +++ b/target-lm32/op_helper.c @@ -75,11 +75,11 @@ uint32_t helper_rcsr_jrx(void) NULL, it means that the function was called in C code (i.e. not from generated code or from helper.c) */ /* XXX: fix it to restore all registers */ -void tlb_fill(CPUState *env1, target_ulong addr, int is_write, int mmu_idx, +void tlb_fill(CPULM32State *env1, target_ulong addr, int is_write, int mmu_idx, void *retaddr) { TranslationBlock *tb; - CPUState *saved_env; + CPULM32State *saved_env; unsigned long pc; int ret; |