mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: move Linux layout definitions into separate header
Move the Linux layout values to `include/boot/linux_layout.h`. This allows the reuse of the definitions, e.g. in assembler files, and later for the creation of linker scripts. Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
d884fb8db4
commit
7e37a1d4e0
+1
-2
@@ -14,14 +14,13 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/linux_layout.h"
|
||||
|
||||
#define ZIPL_MAGIC "zIPL"
|
||||
#define ZIPL_MAGIC_SIZE 4
|
||||
#define DISK_LAYOUT_ID 0x00000001
|
||||
|
||||
#define STAGE3_ENTRY 0xa000UL
|
||||
#define IMAGE_ENTRY 0x10000UL
|
||||
#define IMAGE_ENTRY_KDUMP 0x10010UL
|
||||
|
||||
#define STAGE2_LOAD_ADDRESS 0x2000UL
|
||||
#define STAGE3_LOAD_ADDRESS 0xa000UL
|
||||
|
||||
Reference in New Issue
Block a user