target-lm32: flush tlb after clearing env
commita5b0f6d5c0f6678c078354c432a1f0943374f087
authorMichael Walle <michael@walle.cc>
Tue, 26 Feb 2013 18:51:52 +0000 (26 19:51 +0100)
committerMichael Walle <michael@walle.cc>
Mon, 18 Mar 2013 18:40:34 +0000 (18 19:40 +0100)
treeab6e51389f009f3857355229be7993e88698a30a
parentde55c4bd8bd163ec6c10edc085193bbcf8f9e15e
target-lm32: flush tlb after clearing env

The tlb data is stored within the CPU env. Therefore, the initialization
has to be done after we clear the environment. Otherwise the tlb will have
a valid entry for address 0x0.

Signed-off-by: Michael Walle <michael@walle.cc>
target-lm32/cpu.c