diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2013-03-12 00:31:14 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-03-22 15:28:48 +0100 |
commit | 496272a7018ba01aa2b87a1a5ed866ff85133401 (patch) | |
tree | 07a2318d117f57e1f817eeeb6f1657385bab6963 /target-ppc/mmu-hash32.h | |
parent | f2ad6be83bc284d6c7677bdca879db38d4fdccd5 (diff) |
target-ppc: Disentangle hash mmu helper functions
The newly separated paths for hash mmus rely on several helper functions
which are still shared with 32-bit hash mmus: pp_check(), check_prot() and
pte_update_flags(). While these don't have ugly ifdefs on the mmu type,
they're not very well thought out, so sharing them impedes cleaning up the
hash mmu paths. For now, put near-duplicate versions into mmu-hash64.c and
mmu-hash32.c, leaving the old version in mmu_helper.c for 6xx software
loaded tlb implementations. The hash 32 and software loaded
implementations are simplfied slightly, using the fact that no 32-bit CPUs
implement the 3rd page protection bit.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/mmu-hash32.h')
0 files changed, 0 insertions, 0 deletions