summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-22 08:57:52 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-22 08:57:52 +0000
commit06afe2c8840ec39c3b23db0eb830a5f49244b947 (patch)
tree7f3c1a89f27b7f7e5da3bd1e7750414993f8c651 /linux-user/syscall.c
parent29e179bc3f5e804ab58b975e65c91cb9cd287846 (diff)
downloadfocaccia-qemu-06afe2c8840ec39c3b23db0eb830a5f49244b947.tar.gz
focaccia-qemu-06afe2c8840ec39c3b23db0eb830a5f49244b947.zip
[sh4] MMU bug fix
Some bugs on SH4 MMU are fixed.

- When a TLB entry is overwritten or invalidated, tlb_flush_page() should be
  invoked to invalidate old entry.
- When a ASID is changed, tlb_flush() should be invoke to invalidate entries
  which have old ASID.
- The check for shared bit in TLB entry causes multiple TLB hit exception.
  As SH3's MMU, shared bit is ignored.
- ASID is used when MMUCR's SV bit or SR's MD bit is zero.
  No need to check both bits are zero.

(Shin-ichiro KAWASAKI)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5068 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions