Alexander Egorenkov
647e8b5c37
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 >
2022-06-20 13:14:04 +02:00
Alexander Egorenkov
953af2cc67
zipl/boot: move SCSI MBR struct definition 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 >
2022-06-20 13:14:04 +02:00
Alexander Egorenkov
ba7bf2f6d3
zipl/boot: move boot info struct 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 >
2022-06-20 13:14:04 +02:00
Alexander Egorenkov
446ace09ad
zipl/boot: move SCSI superblock struct 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 >
2022-06-20 13:14:04 +02:00
Alexander Egorenkov
fed12a71cf
zipl/boot: move boot component struct 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 >
2022-06-20 13:14:04 +02:00
Marc Hartmayer
b41ac66f36
zipl: consolidate boot and dump type definitions
...
Consolidate type definitions in order to avoid duplicated code, getting
better compiler support, and to avoid confusing namings for the same
thing - e.g. `blk_end` vs. `blockcnt` field name used in the old `struct
fba_dump_param` definitions. It also allows us to get rid of two
`uint64_t` casts.
While at it, fix the documentation of `struct eckd_blockptr`.
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com >
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com >
Reviewed-by: Stefan Haberland <sth@linux.ibm.com >
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com >
2022-06-03 18:40:36 +02:00