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:
Marc Hartmayer
2019-11-19 17:54:04 +01:00
committed by Jan Höppner
parent d884fb8db4
commit 7e37a1d4e0
3 changed files with 36 additions and 9 deletions
+2 -7
View File
@@ -16,14 +16,9 @@
#include "s390.h"
#include "boot/ipl.h"
#include "boot/linux_layout.h"
#define IPL_DEVICE 0x10400UL
#define INITRD_START 0x10408UL
#define INITRD_SIZE 0x10410UL
#define OLDMEM_BASE 0x10418UL
#define OLDMEM_SIZE 0x10420UL
#define COMMAND_LINE 0x10480UL
#define COMMAND_LINE_SIZE 896
#define COMMAND_LINE_EXTRA 0xE000
#define STAGE3_FLAG_SCSI 0x0001000000000000ULL