aboutsummaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2013-03-12 00:31:35 +0000
committerAlexander Graf <agraf@suse.de>2013-03-22 15:28:51 +0100
commit6fc76aa9adc1c8896a97059f12a1e5e6c1820c64 (patch)
tree2f46f602a1af26ca79f409528c8e0fb513542d02 /target-cris
parente1d4951593426c886c1856211bc6ca81ed7c435d (diff)
mmu-hash32: Clean up BAT matching logic
The code to search for a matching BAT for a virtual address is somewhat longwinded and awkward. In particular, it relies on seperate size and validity information being returned from the hash32_bat_size() function (and 601 specific variant). We simplify this by having hash32_bat_size() return instead a mask of the virtual address bits to match, and 0 for invalid (since a BAT can never match the entire address space). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-cris')
0 files changed, 0 insertions, 0 deletions