[Pdbg] [PATCH v2 0/5] Implement putcfam/putscom with mask

Amitay Isaacs amitay at ozlabs.org
Wed Jul 24 16:12:57 AEST 2019


Make putcfam/putscom code actually work as per help documentation.

v2 changes:
 - If no mask is specified, use write() instead of write_mask().
   This avoids the extra read()

Amitay Isaacs (5):
  libpdbg: Add fsi_write_mask() to write cfam values with mask
  libpdbg: Add pib_write_mask() to write scom values with mask
  main: Implement putscom with mask
  parsers: Add parser for 32-bit default value
  main: Implement putcfam with mask

 libpdbg/libpdbg.h |  2 ++
 libpdbg/target.c  | 28 ++++++++++++++++++++++++++++
 src/cfam.c        | 13 ++++++++++---
 src/parsers.h     |  1 +
 src/scom.c        |  9 +++++++--
 5 files changed, 48 insertions(+), 5 deletions(-)

-- 
2.21.0



More information about the Pdbg mailing list