qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH qemu 0/2] monitor/ppc: Print correct SPRs


From: Alexey Kardashevskiy
Subject: [Qemu-ppc] [PATCH qemu 0/2] monitor/ppc: Print correct SPRs
Date: Thu, 6 Aug 2015 15:25:55 +1000

QEMU's monitor can only print registers described in monitor.c but
in fact we got lot, lot more in POWER7/8, instead of adding all of these
into monitor, we better print only registered SPR so here are the patches.

Please comment. Thanks!



ps. about coding style.
In PPC code we name CPUPPCState* variables as "cpu" and "CPUState" - "cs".
However include/qom/cpu.h uses "cpu" for "CPUState".
What is the correct way of naming these?


Alexey Kardashevskiy (2):
  monitor: Add CPU class callback to read registers for monitor
  target-ppc: Define get_monitor_def

 include/qom/cpu.h           |   1 +
 monitor.c                   | 229 +++-----------------------------------------
 target-ppc/cpu-qom.h        |   2 +
 target-ppc/translate.c      |  72 ++++++++++++++
 target-ppc/translate_init.c |   1 +
 5 files changed, 90 insertions(+), 215 deletions(-)

-- 
2.4.0.rc3.8.gfb3e7d5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]