diff options
author | Bharat Bhushan <r65777@freescale.com> | 2013-03-20 16:24:58 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-17 09:21:14 -0400 |
commit | 8c32a2ea655d035798d3270717924ad8be903e24 (patch) | |
tree | a1344bec6ab959ce2882f0ac7f41bf05c3be77e7 /arch/powerpc/include/uapi/asm/kvm.h | |
parent | fca7567c30a45962401d8d0707e6b6d7adf90f9a (diff) |
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/uapi/asm/kvm.h')
-rw-r--r-- | arch/powerpc/include/uapi/asm/kvm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/kvm.h b/arch/powerpc/include/uapi/asm/kvm.h index ef072b1a6e3f..c2ff99c01562 100644 --- a/arch/powerpc/include/uapi/asm/kvm.h +++ b/arch/powerpc/include/uapi/asm/kvm.h | |||
@@ -422,4 +422,8 @@ struct kvm_get_htab_header { | |||
422 | #define KVM_REG_PPC_CLEAR_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x88) | 422 | #define KVM_REG_PPC_CLEAR_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x88) |
423 | #define KVM_REG_PPC_TCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x89) | 423 | #define KVM_REG_PPC_TCR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x89) |
424 | #define KVM_REG_PPC_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8a) | 424 | #define KVM_REG_PPC_TSR (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8a) |
425 | |||
426 | /* Debugging: Special instruction for software breakpoint */ | ||
427 | #define KVM_REG_PPC_DEBUG_INST (KVM_REG_PPC | KVM_REG_SIZE_U32 | 0x8b) | ||
428 | |||
425 | #endif /* __LINUX_KVM_POWERPC_H */ | 429 | #endif /* __LINUX_KVM_POWERPC_H */ |