[Pdbg] [PATCH v2 0/9] Some more cleanups
Amitay Isaacs
amitay at ozlabs.org
Wed May 23 14:31:01 AEST 2018
Try to contain the use of libpdbg internal api. Avoid including libpdbg
internal headers (assuming everything other than libpdbg.h is internal).
Hopefully we can expose all the public api only via libpdbg.h.
Fix up device trees, so there are no warnings from dtc.
Clean up target selection and make it work as expected -- specially
combination of -a and -p/-c/-t. The change maintains the current
behaviour of allowing to select just processors or processors/chips.
Amitay Isaacs (9):
main: Include string.h for memset
main: Use pdbg logging api in pdbg
main: Do not include libpdbg internal headers
dt: Add missing #address-cells, #size-cells and reg properties
Makefile: Don't suppress warnings from DTC
main: Fix usage for expert option
main: Print valid range for -p, -c, -t in usage
main: Overhaul target selection logic
libpdbg/device: Add new targets in the order of traversal
Makefile.am | 4 +-
libpdbg/device.c | 2 +-
p8-fsi.dts.m4 | 2 +
p8-host.dts.m4 | 2 +
p8-i2c.dts.m4 | 2 +
p9-host.dts.m4 | 6 +++
p9-kernel.dts.m4 | 6 +++
p9-pib.dts.m4 | 4 +-
src/cfam.c | 2 -
src/htm.c | 8 +++-
src/htm.h | 2 -
src/main.c | 105 ++++++++++++++++++++++++++++++++++-------------
src/main.h | 4 +-
src/mem.c | 7 +++-
src/reg.c | 3 +-
src/scom.c | 2 +-
src/scom.h | 2 -
src/thread.c | 5 +--
src/thread.h | 2 -
19 files changed, 117 insertions(+), 53 deletions(-)
--
2.17.0
More information about the Pdbg
mailing list