diff options
Diffstat (limited to 'arch/powerpc/include/asm/kvm_host.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 1cb6e522485b..af438b1e8a3c 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h | |||
@@ -485,4 +485,12 @@ struct kvm_vcpu_arch { | |||
485 | #define KVMPPC_VCPU_BUSY_IN_HOST 1 | 485 | #define KVMPPC_VCPU_BUSY_IN_HOST 1 |
486 | #define KVMPPC_VCPU_RUNNABLE 2 | 486 | #define KVMPPC_VCPU_RUNNABLE 2 |
487 | 487 | ||
488 | /* Values for vcpu->arch.io_gpr */ | ||
489 | #define KVM_MMIO_REG_MASK 0x001f | ||
490 | #define KVM_MMIO_REG_EXT_MASK 0xffe0 | ||
491 | #define KVM_MMIO_REG_GPR 0x0000 | ||
492 | #define KVM_MMIO_REG_FPR 0x0020 | ||
493 | #define KVM_MMIO_REG_QPR 0x0040 | ||
494 | #define KVM_MMIO_REG_FQPR 0x0060 | ||
495 | |||
488 | #endif /* __POWERPC_KVM_HOST_H__ */ | 496 | #endif /* __POWERPC_KVM_HOST_H__ */ |