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 {
26a73a9599SAlexander Graf 	__u64 sprg0;
27a73a9599SAlexander Graf 	__u64 sprg1;
28a73a9599SAlexander Graf 	__u64 sprg2;
29a73a9599SAlexander Graf 	__u64 sprg3;
30de7906c3SAlexander Graf 	__u64 srr0;
31de7906c3SAlexander Graf 	__u64 srr1;
325e030186SAlexander Graf 	__u64 dar;
33666e7252SAlexander Graf 	__u64 msr;
34d562de48SAlexander Graf 	__u32 dsisr;
3596bc451aSAlexander Graf };
3696bc451aSAlexander Graf 
37b8b572e1SStephen Rothwell #ifdef __KERNEL__
38b8b572e1SStephen Rothwell 
39b8b572e1SStephen Rothwell static inline int kvm_para_available(void)
40b8b572e1SStephen Rothwell {
41b8b572e1SStephen Rothwell 	return 0;
42b8b572e1SStephen Rothwell }
43b8b572e1SStephen Rothwell 
44b8b572e1SStephen Rothwell static inline unsigned int kvm_arch_para_features(void)
45b8b572e1SStephen Rothwell {
46b8b572e1SStephen Rothwell 	return 0;
47b8b572e1SStephen Rothwell }
48b8b572e1SStephen Rothwell 
49b8b572e1SStephen Rothwell #endif /* __KERNEL__ */
50b8b572e1SStephen Rothwell 
51b8b572e1SStephen Rothwell #endif /* __POWERPC_KVM_PARA_H__ */
52