zdump: Implement NGDump helpers

This commit introduces a new module containing various helpers for
NGDump stand-alone dump. The purpose of these helpers is to facilitate
the implementation of DT and DFI interfaces for NGDump, share code
between both, reduce duplication and enable unit testing later on.

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Alexander Egorenkov
2021-08-05 11:32:18 +02:00
committed by Jan Höppner
parent 60f862b21c
commit 8ddc31ea77
3 changed files with 357 additions and 1 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ OBJECTS = zgetdump.o opts.o zg.o zg_error.o zg_print.o \
df_elf.o df_s390.o \
dt.o dt_s390sv.o dt_s390sv_ext.o \
dt_s390mv.o dt_s390mv_ext.o \
dt_scsi.o output.o
dt_scsi.o output.o \
ngdump.o
ifeq ("$(HAVE_FUSE)","0")
FUSE_CFLAGS = -DHAVE_FUSE=0 -D_FILE_OFFSET_BITS=64