aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/kvm_ppc.h')
-rw-r--r--arch/powerpc/include/asm/kvm_ppc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_ppc.h b/arch/powerpc/include/asm/kvm_ppc.h
index d59332575b4d..976ecc4b322e 100644
--- a/arch/powerpc/include/asm/kvm_ppc.h
+++ b/arch/powerpc/include/asm/kvm_ppc.h
@@ -62,6 +62,9 @@ extern void kvmppc_mmu_switch_pid(struct kvm_vcpu *vcpu, u32 pid);
62 62
63/* Core-specific hooks */ 63/* Core-specific hooks */
64 64
65extern struct kvm_vcpu *kvmppc_core_vcpu_create(struct kvm *kvm,
66 unsigned int id);
67extern void kvmppc_core_vcpu_free(struct kvm_vcpu *vcpu);
65extern int kvmppc_core_vcpu_setup(struct kvm_vcpu *vcpu); 68extern int kvmppc_core_vcpu_setup(struct kvm_vcpu *vcpu);
66extern int kvmppc_core_check_processor_compat(void); 69extern int kvmppc_core_check_processor_compat(void);
67extern int kvmppc_core_vcpu_translate(struct kvm_vcpu *vcpu, 70extern int kvmppc_core_vcpu_translate(struct kvm_vcpu *vcpu,
@@ -85,6 +88,9 @@ extern int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
85extern int kvmppc_core_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, int rs); 88extern int kvmppc_core_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, int rs);
86extern int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt); 89extern int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt);
87 90
91extern int kvmppc_booke_init(void);
92extern void kvmppc_booke_exit(void);
93
88extern void kvmppc_core_destroy_mmu(struct kvm_vcpu *vcpu); 94extern void kvmppc_core_destroy_mmu(struct kvm_vcpu *vcpu);
89 95
90#endif /* __POWERPC_KVM_PPC_H__ */ 96#endif /* __POWERPC_KVM_PPC_H__ */