mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
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>
This commit is contained in:
parent
5666ca4ae0
commit
90dc881222
5 changed files with 296 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue