diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-04-02 15:24:13 +0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-10 11:12:50 -0700 |
commit | c038ec934632c0916c9a835a1c778b30ead88f7c (patch) | |
tree | ff8d47b320ece5333fbb0a9494e25bf2f758a865 /target/cris/cpu.h | |
parent | 7350d553b5066abdc662045d7db5cdb73d0f9d53 (diff) |
target/cris: Convert to CPUClass::tlb_fill
Remove dumping of cpu state. Remove logging of PC, as that
value is garbage until cpu_restore_state.
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/cris/cpu.h')
-rw-r--r-- | target/cris/cpu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/cris/cpu.h b/target/cris/cpu.h index 0fbe771639..857de79e24 100644 --- a/target/cris/cpu.h +++ b/target/cris/cpu.h @@ -281,8 +281,9 @@ static inline int cpu_mmu_index (CPUCRISState *env, bool ifetch) return !!(env->pregs[PR_CCS] & U_FLAG); } -int cris_cpu_handle_mmu_fault(CPUState *cpu, vaddr address, int size, int rw, - int mmu_idx); +bool cris_cpu_tlb_fill(CPUState *cs, vaddr address, int size, + MMUAccessType access_type, int mmu_idx, + bool probe, uintptr_t retaddr); /* Support function regs. */ #define SFR_RW_GC_CFG 0][0 |