1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* 3 * Copyright IBM Corporation, 2013 4 * Author Aneesh Kumar K.V <aneesh.kumar@linux 5 */ 6 7 #ifndef __POWERPC_KVM_BOOK3S_H__ 8 #define __POWERPC_KVM_BOOK3S_H__ 9 10 extern void kvmppc_core_flush_memslot_hv(struc 11 struc 12 extern bool kvm_unmap_gfn_range_hv(struct kvm 13 extern bool kvm_age_gfn_hv(struct kvm *kvm, st 14 extern bool kvm_test_age_gfn_hv(struct kvm *kv 15 16 extern int kvmppc_mmu_init_pr(struct kvm_vcpu 17 extern void kvmppc_mmu_destroy_pr(struct kvm_v 18 extern int kvmppc_core_emulate_op_pr(struct kv 19 unsigned 20 extern int kvmppc_core_emulate_mtspr_pr(struct 21 int sp 22 extern int kvmppc_core_emulate_mfspr_pr(struct 23 int sp 24 extern int kvmppc_book3s_init_pr(void); 25 void kvmppc_book3s_exit_pr(void); 26 extern int kvmppc_handle_exit_pr(struct kvm_vc 27 28 #ifdef CONFIG_PPC_TRANSACTIONAL_MEM 29 extern void kvmppc_emulate_tabort(struct kvm_v 30 #else 31 static inline void kvmppc_emulate_tabort(struc 32 #endif 33 34 extern void kvmppc_set_msr_hv(struct kvm_vcpu 35 extern void kvmppc_inject_interrupt_hv(struct 36 37 #endif 38
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.