[Pdbg] [PATCH 0/9] Make register access into thread procedures

Amitay Isaacs amitay at ozlabs.org
Mon Jun 22 10:44:52 AEST 2020


Currently thread hardware procedures include support for ramming
instructions.  The register access is then implemented using ramming
instructions support.  Put all register access methods as thread
procedures, that way alternate mechanisms can be supported (e.g. using
sbefifo).

Amitay Isaacs (9):
  libpdbg: Make thread procedures consistent
  libpdbg: Avoid direct access of class in pdbg_target
  libpdbg: Avoid direct access of class in pdbg_target
  libpdbg: Add SPR definitions
  libpdbg: Use SPR definitions instead of hard-coded values
  libpdbg: Add register access procedures to thread
  libpdbg: Rearrange thread procedures for register access
  libsbefifo: Fix register access chip-ops
  libpdbg: Add sbefifo based thread register access

 Makefile.am               |   4 +-
 libpdbg/adu.c             |  16 +-
 libpdbg/chip.c            | 304 +++++++----------------------------
 libpdbg/chip.h            |  24 ++-
 libpdbg/hwunit.h          |  25 ++-
 libpdbg/p8chip.c          |  34 ++--
 libpdbg/p9chip.c          |  26 ++-
 libpdbg/sbefifo.c         | 260 ++++++++++++++++++++++++++++++
 libpdbg/sprs.h            | 167 +++++++++++++++++++
 libpdbg/thread.c          | 328 ++++++++++++++++++++++++++++++++++++++
 libsbefifo/cmd_register.c |  12 +-
 libsbefifo/libsbefifo.h   |   4 +-
 src/pdbgproxy.c           |   2 +-
 13 files changed, 915 insertions(+), 291 deletions(-)
 create mode 100644 libpdbg/sprs.h
 create mode 100644 libpdbg/thread.c

-- 
2.26.2



More information about the Pdbg mailing list