mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdump: Move and rename DF_S390_DUMPER_SIZE constants
Move DF_S390_DUMPER_SIZE_* constants from zdump/df_s390.h to boot/loaders_layout.h since ccw dumper size depends on the zipl boot loader layout (to keep it all in one place). Rename DF_S390_DUMPER_SIZE_* constants to STAGE2_DUMPER_SIZE_* Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com> Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
1a850392bc
commit
fda1e0d33d
+1
-3
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
#include "dump/s390_dump.h"
|
||||
#include "boot/loaders_layout.h"
|
||||
|
||||
#include "dt.h"
|
||||
#include "zg.h"
|
||||
@@ -34,9 +35,6 @@ static inline enum dfi_arch df_s390_to_dfi_arch(enum df_s390_arch df_s390_arch)
|
||||
return df_s390_arch == DF_S390_ARCH_64 ? DFI_ARCH_64 : DFI_ARCH_32;
|
||||
}
|
||||
|
||||
#define DF_S390_DUMPER_SIZE_V1 0x1000
|
||||
#define DF_S390_DUMPER_SIZE_V2 0x2000
|
||||
#define DF_S390_DUMPER_SIZE_V3 0x3000
|
||||
#define DF_S390_DUMPER_MAGIC32 "ZECKD31"
|
||||
#define DF_S390_DUMPER_MAGIC64 "ZECKD64"
|
||||
#define DF_S390_DUMPER_MAGIC_EXT "XECKD64"
|
||||
|
||||
Reference in New Issue
Block a user