This source file includes following definitions.
- kvmppc_emulate_tabort
1
2
3
4
5
6
7 #ifndef __POWERPC_KVM_BOOK3S_H__
8 #define __POWERPC_KVM_BOOK3S_H__
9
10 extern void kvmppc_core_flush_memslot_hv(struct kvm *kvm,
11 struct kvm_memory_slot *memslot);
12 extern int kvm_unmap_hva_range_hv(struct kvm *kvm, unsigned long start,
13 unsigned long end);
14 extern int kvm_age_hva_hv(struct kvm *kvm, unsigned long start,
15 unsigned long end);
16 extern int kvm_test_age_hva_hv(struct kvm *kvm, unsigned long hva);
17 extern void kvm_set_spte_hva_hv(struct kvm *kvm, unsigned long hva, pte_t pte);
18
19 extern void kvmppc_mmu_destroy_pr(struct kvm_vcpu *vcpu);
20 extern int kvmppc_core_emulate_op_pr(struct kvm_run *run, struct kvm_vcpu *vcpu,
21 unsigned int inst, int *advance);
22 extern int kvmppc_core_emulate_mtspr_pr(struct kvm_vcpu *vcpu,
23 int sprn, ulong spr_val);
24 extern int kvmppc_core_emulate_mfspr_pr(struct kvm_vcpu *vcpu,
25 int sprn, ulong *spr_val);
26 extern int kvmppc_book3s_init_pr(void);
27 extern void kvmppc_book3s_exit_pr(void);
28
29 #ifdef CONFIG_PPC_TRANSACTIONAL_MEM
30 extern void kvmppc_emulate_tabort(struct kvm_vcpu *vcpu, int ra_val);
31 #else
32 static inline void kvmppc_emulate_tabort(struct kvm_vcpu *vcpu, int ra_val) {}
33 #endif
34
35 #endif