aboutsummaryrefslogtreecommitdiff
path: root/target/unicore32
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-10-09 13:45:53 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-10-18 18:58:10 -0700
commit022d6378c7fda797ef91fe71a4e13a7a651298b8 (patch)
tree9547feedcdff138b0362de05ad0cb6b5188f3e39 /target/unicore32
parent6e11beecfde0d8b7ed13164fbfb1cea30d66f9c9 (diff)
downloadqemu-022d6378c7fda797ef91fe71a4e13a7a651298b8.zip
qemu-022d6378c7fda797ef91fe71a4e13a7a651298b8.tar.gz
qemu-022d6378c7fda797ef91fe71a4e13a7a651298b8.tar.bz2
target/unicore32: remove tlb_flush from uc32_init_fn
As far as I can tell tlb_flush does not need to be called this early. tlb_flush is eventually called after the CPU has been realized. This change paves the way to the introduction of tlb_init, which will be called from cpu_exec_realizefn. Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <20181009174557.16125-3-cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/unicore32')
-rw-r--r--target/unicore32/cpu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/unicore32/cpu.c b/target/unicore32/cpu.c
index 68f978d..2b49d1c 100644
--- a/target/unicore32/cpu.c
+++ b/target/unicore32/cpu.c
@@ -116,8 +116,6 @@ static void uc32_cpu_initfn(Object *obj)
env->uncached_asr = ASR_MODE_PRIV;
env->regs[31] = 0x03000000;
#endif
-
- tlb_flush(cs);
}
static const VMStateDescription vmstate_uc32_cpu = {