[Pdbg] [PATCH 0/3] Add libsbefifo
Amitay Isaacs
amitay at ozlabs.org
Tue Aug 20 15:19:10 AEST 2019
Instead of polluting pdbg code with sbefifo specific details, abstract all
sbefifo operations into a separate library, libsbefifo. Drop all the sbefifo
related code from sbefifo driver and use library api. Since the library
implements all the chip-operations, there is no need for a generic chipop api.
Amitay Isaacs (3):
libsbefifo: Add a library to talk to sbefifo
libpdbg: Drop sbe_chipop api for generic chip-op
sbefifo: Switch to using libsbefifo api
Makefile.am | 20 +-
libpdbg/hwunit.h | 6 +-
libpdbg/libpdbg.h | 1 -
libpdbg/sbefifo.c | 349 +++--------------------------------
libpdbg/target.c | 11 --
libsbefifo/cmd_array.c | 100 ++++++++++
libsbefifo/cmd_control.c | 50 +++++
libsbefifo/cmd_generic.c | 169 +++++++++++++++++
libsbefifo/cmd_instruction.c | 54 ++++++
libsbefifo/cmd_memory.c | 243 ++++++++++++++++++++++++
libsbefifo/cmd_mpipl.c | 102 ++++++++++
libsbefifo/cmd_register.c | 115 ++++++++++++
libsbefifo/cmd_ring.c | 119 ++++++++++++
libsbefifo/cmd_scom.c | 147 +++++++++++++++
libsbefifo/connect.c | 74 ++++++++
libsbefifo/ffdc.c | 151 +++++++++++++++
libsbefifo/libsbefifo.h | 116 ++++++++++++
libsbefifo/operation.c | 149 +++++++++++++++
libsbefifo/sbefifo_private.h | 88 +++++++++
19 files changed, 1718 insertions(+), 346 deletions(-)
create mode 100644 libsbefifo/cmd_array.c
create mode 100644 libsbefifo/cmd_control.c
create mode 100644 libsbefifo/cmd_generic.c
create mode 100644 libsbefifo/cmd_instruction.c
create mode 100644 libsbefifo/cmd_memory.c
create mode 100644 libsbefifo/cmd_mpipl.c
create mode 100644 libsbefifo/cmd_register.c
create mode 100644 libsbefifo/cmd_ring.c
create mode 100644 libsbefifo/cmd_scom.c
create mode 100644 libsbefifo/connect.c
create mode 100644 libsbefifo/ffdc.c
create mode 100644 libsbefifo/libsbefifo.h
create mode 100644 libsbefifo/operation.c
create mode 100644 libsbefifo/sbefifo_private.h
--
2.21.0
More information about the Pdbg
mailing list