aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/e500_tlb.h
diff options
context:
space:
mode:
authorLiu Yu <yu.liu@freescale.com>2009-02-17 16:52:08 +0800
committerAvi Kivity <avi@redhat.com>2009-03-24 11:03:12 +0200
commitb0a1835d53c57bc38b36867c04436b60454cb610 (patch)
tree8d3cd9f1d01b8d13f82bddda759c1f3335147221 /arch/powerpc/kvm/e500_tlb.h
parent71450f78853b82d55cda4e182c9db6e26b631485 (diff)
KVM: ppc: Add emulation of E500 register mmucsr0
Latest kernel flushes TLB via mmucsr0. Signed-off-by: Liu Yu <yu.liu@freescale.com> Acked-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/e500_tlb.h')
-rw-r--r--arch/powerpc/kvm/e500_tlb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/e500_tlb.h b/arch/powerpc/kvm/e500_tlb.h
index ab49e935518..4d5cc0f7d79 100644
--- a/arch/powerpc/kvm/e500_tlb.h
+++ b/arch/powerpc/kvm/e500_tlb.h
@@ -44,6 +44,7 @@
| E500_TLB_USER_PERM_MASK | E500_TLB_SUPER_PERM_MASK)
extern void kvmppc_dump_tlbs(struct kvm_vcpu *);
+extern int kvmppc_e500_emul_mt_mmucsr0(struct kvmppc_vcpu_e500 *, ulong);
extern int kvmppc_e500_emul_tlbwe(struct kvm_vcpu *);
extern int kvmppc_e500_emul_tlbre(struct kvm_vcpu *);
extern int kvmppc_e500_emul_tlbivax(struct kvm_vcpu *, int, int);