diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2013-03-12 00:31:07 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-03-22 15:28:47 +0100 |
commit | 9d7c3f4a2935a70e7299a6862792bbfc48d62211 (patch) | |
tree | 48f61f396310b89b39b09d13a4483d03204c50fe /target-ppc/Makefile.objs | |
parent | 10b4652543313ca82284193fa107151c437f9b04 (diff) | |
download | hqemu-9d7c3f4a2935a70e7299a6862792bbfc48d62211.zip hqemu-9d7c3f4a2935a70e7299a6862792bbfc48d62211.tar.gz |
target-ppc: Disentangle pte_check()
Currently support for both 32-bit and 64-bit hash MMUs share an
implementation of pte_check. But there are enough differences that this
means the shared function has several very ugly conditionals on "is_64b".
This patch cleans things up by separating out the 64-bit version
(putting it into mmu-hash64.c) and the 32-bit hash version (putting it
in mmu-hash32.c). Another copy remains in mmu_helper.c, which is used
for the 6xx software loaded TLB paths.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/Makefile.objs')
-rw-r--r-- | target-ppc/Makefile.objs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/Makefile.objs b/target-ppc/Makefile.objs index 4ef9fc0..c80911f 100644 --- a/target-ppc/Makefile.objs +++ b/target-ppc/Makefile.objs @@ -1,7 +1,7 @@ obj-y += cpu-models.o obj-y += translate.o ifeq ($(CONFIG_SOFTMMU),y) -obj-y += machine.o +obj-y += machine.o mmu-hash32.o obj-$(TARGET_PPC64) += mmu-hash64.o endif obj-$(CONFIG_KVM) += kvm.o kvm_ppc.o |