zipl/boot: move zipl magic string definitions to boot_defs.h for reuse

To reduce duplication of definitions and facilitate reuse between zipl
and zgetdump.

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Alexander Egorenkov
2022-06-01 08:01:08 +02:00
committed by Jan Höppner
parent 1ae4fd18fe
commit 647e8b5c37
2 changed files with 3 additions and 3 deletions

View File

@@ -13,6 +13,9 @@
#include "lib/zt_common.h"
#define ZIPL_MAGIC "zIPL"
#define ZIPL_MAGIC_SIZE 4
/*
* ECKD dump parameter
*/

View File

@@ -17,9 +17,6 @@
#include "lib/util_base.h"
#include "boot/loaders_layout.h"
#define ZIPL_MAGIC "zIPL"
#define ZIPL_MAGIC_SIZE 4
#define ADDRESS_LIMIT 0x80000000UL
#define UNSPECIFIED_ADDRESS -1UL
#define LEGACY_MAXIMUM_PARMLINE_SIZE 0x380UL