mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
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 <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Emilio G. Cota <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
This commit is contained in:
1 parent
6e11beecfd
commit
022d6378c7
1 file changed
-2
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user