[Pdbg] [PATCH 00/10] more pdbg stuff

Nicholas Piggin npiggin at gmail.com
Thu May 3 16:26:52 AEST 2018


This is the rest of the series I originally sent. Goes on top
of the latest series I sent. I think I found a reasonable
compromise for expert vs non-expert mode, basicaly stateful and
explicit vs oneshot stateless relatively safe.

Thanks,
Nick

Nicholas Piggin (10):
  libpdbg/p9chip.c: disable ramming LSU opcodes
  libpdbg: staticify unit structs
  libpdbg/target: add a release operation
  pdbg: provide a release function
  libpdbg/p9chip.c: implement core target release to de-assert special
    wakeup
  pdbg: add an expert mode
  libpdbg/p9chip.c: allow sreset in !expert mode
  libpdbg/p9chip.c: ram allow ram to be used on running threads
  pdbg: add 'regs' command
  pdbg: add basic kernel stack trace to 'regs' command

 libpdbg/adu.c        |   4 +-
 libpdbg/bmcfsi.c     |   2 +-
 libpdbg/cfam.c       |   8 +-
 libpdbg/chip.c       | 169 ++++++++++++++++++++++++++++++++++++++++++-
 libpdbg/fake.c       |   4 +-
 libpdbg/host.c       |   2 +-
 libpdbg/htm.c        |   4 +-
 libpdbg/i2c.c        |   2 +-
 libpdbg/kernel.c     |   2 +-
 libpdbg/libpdbg.c    |   2 +
 libpdbg/libpdbg.h    |  52 ++++++++++++-
 libpdbg/operations.h |  15 +++-
 libpdbg/p8chip.c     |  14 +++-
 libpdbg/p9chip.c     | 118 ++++++++++++++++++++++++++++--
 libpdbg/target.c     |  42 +++++++++++
 libpdbg/target.h     |   9 +++
 src/main.c           | 111 +++++++++++++++++++++++++---
 src/main.h           |   1 +
 src/mem.c            |  51 +++++++++++++
 src/mem.h            |   2 +
 src/thread.c         |  24 ++++++
 src/thread.h         |   1 +
 22 files changed, 598 insertions(+), 41 deletions(-)

-- 
2.17.0



More information about the Pdbg mailing list