summaryrefslogtreecommitdiffstats
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorScott Wood2011-04-30 00:10:23 +0200
committerAlexander Graf2011-05-09 22:31:37 +0200
commit90dc8812229a1d3f31bc08ccf0aa50e10282faef (patch)
tree5b8c980d3fa038f6c5e7b2aec60b1487c6885c21 /target-ppc/cpu.h
parentkvm: ppc: fixes for KVM_SET_SREGS on init (diff)
downloadqemu-90dc8812229a1d3f31bc08ccf0aa50e10282faef.tar.gz
qemu-90dc8812229a1d3f31bc08ccf0aa50e10282faef.tar.xz
qemu-90dc8812229a1d3f31bc08ccf0aa50e10282faef.zip
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)