1b8b572e1SStephen Rothwell /* 2b8b572e1SStephen Rothwell * This program is free software; you can redistribute it and/or modify 3b8b572e1SStephen Rothwell * it under the terms of the GNU General Public License, version 2, as 4b8b572e1SStephen Rothwell * published by the Free Software Foundation. 5b8b572e1SStephen Rothwell * 6b8b572e1SStephen Rothwell * This program is distributed in the hope that it will be useful, 7b8b572e1SStephen Rothwell * but WITHOUT ANY WARRANTY; without even the implied warranty of 8b8b572e1SStephen Rothwell * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9b8b572e1SStephen Rothwell * GNU General Public License for more details. 10b8b572e1SStephen Rothwell * 11b8b572e1SStephen Rothwell * You should have received a copy of the GNU General Public License 12b8b572e1SStephen Rothwell * along with this program; if not, write to the Free Software 13b8b572e1SStephen Rothwell * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14b8b572e1SStephen Rothwell * 15b8b572e1SStephen Rothwell * Copyright IBM Corp. 2008 16b8b572e1SStephen Rothwell * 17b8b572e1SStephen Rothwell * Authors: Hollis Blanchard <hollisb@us.ibm.com> 18b8b572e1SStephen Rothwell */ 19b8b572e1SStephen Rothwell 20b8b572e1SStephen Rothwell #ifndef __POWERPC_KVM_PARA_H__ 21b8b572e1SStephen Rothwell #define __POWERPC_KVM_PARA_H__ 22b8b572e1SStephen Rothwell 2396bc451aSAlexander Graf #include <linux/types.h> 2496bc451aSAlexander Graf 2596bc451aSAlexander Graf struct kvm_vcpu_arch_shared { 26*de7906c3SAlexander Graf __u64 srr0; 27*de7906c3SAlexander Graf __u64 srr1; 285e030186SAlexander Graf __u64 dar; 29666e7252SAlexander Graf __u64 msr; 30d562de48SAlexander Graf __u32 dsisr; 3196bc451aSAlexander Graf }; 3296bc451aSAlexander Graf 33b8b572e1SStephen Rothwell #ifdef __KERNEL__ 34b8b572e1SStephen Rothwell 35b8b572e1SStephen Rothwell static inline int kvm_para_available(void) 36b8b572e1SStephen Rothwell { 37b8b572e1SStephen Rothwell return 0; 38b8b572e1SStephen Rothwell } 39b8b572e1SStephen Rothwell 40b8b572e1SStephen Rothwell static inline unsigned int kvm_arch_para_features(void) 41b8b572e1SStephen Rothwell { 42b8b572e1SStephen Rothwell return 0; 43b8b572e1SStephen Rothwell } 44b8b572e1SStephen Rothwell 45b8b572e1SStephen Rothwell #endif /* __KERNEL__ */ 46b8b572e1SStephen Rothwell 47b8b572e1SStephen Rothwell #endif /* __POWERPC_KVM_PARA_H__ */ 48