2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License, version 2, as
4 * published by the Free Software Foundation.
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
11 * You should have received a copy of the GNU General Public License
12 * along with this program; if not, write to the Free Software
13 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15 * Copyright IBM Corp. 2007
17 * Authors: Hollis Blanchard <hollisb@us.ibm.com>
20 #ifndef __LINUX_KVM_POWERPC_H
21 #define __LINUX_KVM_POWERPC_H
23 #include <linux/types.h>
73 struct kvm_debug_exit_arch
{
76 /* for KVM_SET_GUEST_DEBUG */
77 struct kvm_guest_debug_arch
{
80 #define KVM_REG_MASK 0x001f
81 #define KVM_REG_EXT_MASK 0xffe0
82 #define KVM_REG_GPR 0x0000
83 #define KVM_REG_FPR 0x0020
84 #define KVM_REG_QPR 0x0040
85 #define KVM_REG_FQPR 0x0060
87 #define KVM_INTERRUPT_SET -1U
88 #define KVM_INTERRUPT_UNSET -2U
89 #define KVM_INTERRUPT_SET_LEVEL -3U
91 #endif /* __LINUX_KVM_POWERPC_H */