aboutsummaryrefslogtreecommitdiff
path: root/target-cris/mmu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-03-14 01:38:21 +0100
committerAndreas Färber <afaerber@suse.de>2012-03-14 22:20:25 +0100
commita1170bfd19cdf4bb405b73fea21c1bc4964e3354 (patch)
tree64933ead3db8a4de06b3a8cccda114b4424edf1b /target-cris/mmu.h
parent0ecb72a58838d8a0d4edcad7db674d39bfd2e9bc (diff)
target-cris: Don't overuse CPUState
Scripted conversion: sed -i "s/CPUState/CPUCRISState/g" target-cris/*.[hc] sed -i "s/#define CPUCRISState/#define CPUState/" target-cris/cpu.h Signed-off-by: Andreas Färber <afaerber@suse.de> Acked-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-cris/mmu.h')
-rw-r--r--target-cris/mmu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/target-cris/mmu.h b/target-cris/mmu.h
index 459d809f7d..8e249e812b 100644
--- a/target-cris/mmu.h
+++ b/target-cris/mmu.h
@@ -10,8 +10,8 @@ struct cris_mmu_result
int bf_vec;
};
-void cris_mmu_init(CPUState *env);
-void cris_mmu_flush_pid(CPUState *env, uint32_t pid);
+void cris_mmu_init(CPUCRISState *env);
+void cris_mmu_flush_pid(CPUCRISState *env, uint32_t pid);
int cris_mmu_translate(struct cris_mmu_result *res,
- CPUState *env, uint32_t vaddr,
+ CPUCRISState *env, uint32_t vaddr,
int rw, int mmu_idx, int debug);