summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorRichard Henderson2018-05-23 01:28:33 +0200
committerStafford Horne2018-07-02 17:05:28 +0200
commit455d45d22cc3b2c29c7840f2478647a0a3d9d8b4 (patch)
tree102125b4dbd24e276261d7bba40c08e4f076488a /include/exec
parenttarget/openrisc: Form the spr index from tcg (diff)
downloadqemu-455d45d22cc3b2c29c7840f2478647a0a3d9d8b4.tar.gz
qemu-455d45d22cc3b2c29c7840f2478647a0a3d9d8b4.tar.xz
qemu-455d45d22cc3b2c29c7840f2478647a0a3d9d8b4.zip
target/openrisc: Merge tlb allocation into CPUOpenRISCState
There is no reason to allocate this separately. This was probably copied from target/mips which makes the same mistake. While doing so, move tlb into the clear-on-reset range. While not all of the TLB bits are guaranteed zero on reset, all of the valid bits are cleared, and the rest of the bits are unspecified. Therefore clearing the whole of the TLB is correct. Reviewed-by: Stafford Horne <shorne@gmail.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions