cpu.c (d1e8e8ecc3d2a1a72504912d671f1cbbac1b06e5) cpu.c (1f5c00cfdb8114c1e3a13426588ceb64f82c9ddb)
1/*
2 * TriCore emulation for qemu: main translation routines.
3 *
4 * Copyright (c) 2012-2014 Bastian Koppelmann C-Lab/University Paderborn
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 39 unchanged lines hidden (view full) ---

48static void tricore_cpu_reset(CPUState *s)
49{
50 TriCoreCPU *cpu = TRICORE_CPU(s);
51 TriCoreCPUClass *tcc = TRICORE_CPU_GET_CLASS(cpu);
52 CPUTriCoreState *env = &cpu->env;
53
54 tcc->parent_reset(s);
55
1/*
2 * TriCore emulation for qemu: main translation routines.
3 *
4 * Copyright (c) 2012-2014 Bastian Koppelmann C-Lab/University Paderborn
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

--- 39 unchanged lines hidden (view full) ---

48static void tricore_cpu_reset(CPUState *s)
49{
50 TriCoreCPU *cpu = TRICORE_CPU(s);
51 TriCoreCPUClass *tcc = TRICORE_CPU_GET_CLASS(cpu);
52 CPUTriCoreState *env = &cpu->env;
53
54 tcc->parent_reset(s);
55
56 tlb_flush(s, 1);
57
58 cpu_state_reset(env);
59}
60
61static bool tricore_cpu_has_work(CPUState *cs)
62{
63 return true;
64}
65

--- 155 unchanged lines hidden ---
56 cpu_state_reset(env);
57}
58
59static bool tricore_cpu_has_work(CPUState *cs)
60{
61 return true;
62}
63

--- 155 unchanged lines hidden ---