summaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2011-04-29 17:10:23 -0500
committerAlexander Graf <agraf@suse.de>2011-05-09 22:31:37 +0200
commit90dc8812229a1d3f31bc08ccf0aa50e10282faef (patch)
tree5b8c980d3fa038f6c5e7b2aec60b1487c6885c21 /target-ppc/cpu.h
parent5666ca4ae06d20497f887241151278e266947087 (diff)
downloadqemu-90dc8812229a1d3f31bc08ccf0aa50e10282faef.tar.gz
monitor: add PPC BookE SPRs
Read them via KVM_GET_SREGS in kvm_arch_get_registers(), and display them in "info registers". Also get CR and PID from the existing KVM_GET_REGS. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 04b12590fa..303f8cec35 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -1016,6 +1016,7 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
#define SPR_HSPRG1 (0x131)
#define SPR_HDSISR (0x132)
#define SPR_HDAR (0x133)
+#define SPR_BOOKE_EPCR (0x133)
#define SPR_SPURR (0x134)
#define SPR_BOOKE_DBCR0 (0x134)
#define SPR_IBCR (0x135)