/* * Copyright IBM Corporation, 2013 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License or (at your optional) any later version of the license. * */#ifndef __POWERPC_KVM_BOOK3S_H__#define __POWERPC_KVM_BOOK3S_H__externvoidkvmppc_core_flush_memslot_hv(structkvm*kvm,structkvm_memory_slot*memslot);externintkvm_unmap_hva_hv(structkvm*kvm,unsignedlonghva);externintkvm_unmap_hva_range_hv(structkvm*kvm,unsignedlongstart,unsignedlongend);externintkvm_age_hva_hv(structkvm*kvm,unsignedlonghva);externintkvm_test_age_hva_hv(structkvm*kvm,unsignedlonghva);externvoidkvm_set_spte_hva_hv(structkvm*kvm,unsignedlonghva,pte_tpte);externvoidkvmppc_mmu_destroy_pr(structkvm_vcpu*vcpu);externintkvmppc_core_emulate_op_pr(structkvm_run*run,structkvm_vcpu*vcpu,unsignedintinst,int*advance);externintkvmppc_core_emulate_mtspr_pr(structkvm_vcpu*vcpu,intsprn,ulongspr_val);externintkvmppc_core_emulate_mfspr_pr(structkvm_vcpu*vcpu,intsprn,ulong*spr_val);#endif