target-arm: Fix implementation of TLB invalidate operations
commitdc8714ca57c1796abddf7c96d6f66852a972cb08
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 25 Jan 2012 11:49:46 +0000 (25 11:49 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 25 Jan 2012 11:49:46 +0000 (25 11:49 +0000)
tree71f72886702c4ba01fde297fcd8c9409b7a76d98
parent5b4448d27d7c6ff6e18a1edc8245cb1db783e37c
target-arm: Fix implementation of TLB invalidate operations

Fix some bugs in the implementation of the TLB invalidate
operations on ARM:
 * the 'invalidate all' op was not passing flush_global=1
   to tlb_flush(); this doesn't have a practical effect since
   tlb_flush() currently ignores that argument, but is
   semantically incorrect
 * 'invalidate by address for all ASIDs' was implemented as
   flushing the whole TLB, which invalidates much more than
   strictly necessary. Use tlb_flush_page() instead.
We also annotate the ops with the ARM ARM official acronyms.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c