diff options
Diffstat (limited to 'arch/powerpc/include/asm/kvm_ppc.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_ppc.h | 6 |
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 | ||
65 | extern struct kvm_vcpu *kvmppc_core_vcpu_create(struct kvm *kvm, | ||
66 | unsigned int id); | ||
67 | extern void kvmppc_core_vcpu_free(struct kvm_vcpu *vcpu); | ||
65 | extern int kvmppc_core_vcpu_setup(struct kvm_vcpu *vcpu); | 68 | extern int kvmppc_core_vcpu_setup(struct kvm_vcpu *vcpu); |
66 | extern int kvmppc_core_check_processor_compat(void); | 69 | extern int kvmppc_core_check_processor_compat(void); |
67 | extern int kvmppc_core_vcpu_translate(struct kvm_vcpu *vcpu, | 70 | extern 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, | |||
85 | extern int kvmppc_core_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, int rs); | 88 | extern int kvmppc_core_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, int rs); |
86 | extern int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt); | 89 | extern int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, int rt); |
87 | 90 | ||
91 | extern int kvmppc_booke_init(void); | ||
92 | extern void kvmppc_booke_exit(void); | ||
93 | |||
88 | extern void kvmppc_core_destroy_mmu(struct kvm_vcpu *vcpu); | 94 | extern void kvmppc_core_destroy_mmu(struct kvm_vcpu *vcpu); |
89 | 95 | ||
90 | #endif /* __POWERPC_KVM_PPC_H__ */ | 96 | #endif /* __POWERPC_KVM_PPC_H__ */ |