diff options
author | Bharat Bhushan <r65777@freescale.com> | 2013-03-20 20:24:58 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-17 15:21:14 +0200 |
commit | 8c32a2ea655d035798d3270717924ad8be903e24 (patch) | |
tree | a1344bec6ab959ce2882f0ac7f41bf05c3be77e7 /arch/powerpc/include/asm/kvm_booke.h | |
parent | fca7567c30a45962401d8d0707e6b6d7adf90f9a (diff) | |
download | linux-8c32a2ea655d035798d3270717924ad8be903e24.tar.bz2 |
Added ONE_REG interface for debug instruction
This patch adds the one_reg interface to get the special instruction
to be used for setting software breakpoint from userspace.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_booke.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_booke.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_booke.h b/arch/powerpc/include/asm/kvm_booke.h index b7cd3356a532..d3c1eb34c986 100644 --- a/arch/powerpc/include/asm/kvm_booke.h +++ b/arch/powerpc/include/asm/kvm_booke.h @@ -26,6 +26,8 @@ /* LPIDs we support with this build -- runtime limit may be lower */ #define KVMPPC_NR_LPIDS 64 +#define KVMPPC_INST_EHPRIV 0x7c00021c + static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) { vcpu->arch.gpr[num] = val; |