mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
This adds support for long command lines. The boot loader stages will no longer use a fixed limit when copying the command line, but will use the maximum length from the kernel image that is being loaded. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
36 lines
879 B
C
36 lines
879 B
C
/*
|
|
* s390 Linux layout definitions
|
|
*
|
|
* Copyright IBM Corp. 2020
|
|
*
|
|
* s390-tools is free software; you can redistribute it and/or modify
|
|
* it under the terms of the MIT license. See LICENSE for details.
|
|
*/
|
|
|
|
#ifndef LINUX_LAYOUT_H
|
|
#define LINUX_LAYOUT_H
|
|
|
|
#include "lib/zt_common.h"
|
|
|
|
/* Entry address offsets */
|
|
#define IMAGE_ENTRY _AC(0x10000, UL)
|
|
#define IMAGE_ENTRY_KDUMP _AC(0x10010, UL)
|
|
|
|
/* Parameter address offsets */
|
|
#define PARMAREA _AC(0x10400, UL)
|
|
#define IPL_DEVICE _AC(0x10400, UL)
|
|
#define INITRD_START _AC(0x10408, UL)
|
|
#define INITRD_SIZE _AC(0x10410, UL)
|
|
#define OLDMEM_BASE _AC(0x10418, UL)
|
|
#define OLDMEM_SIZE _AC(0x10420, UL)
|
|
#define MAX_COMMAND_LINE_SIZE _AC(0x10430, UL)
|
|
#define COMMAND_LINE _AC(0x10480, UL)
|
|
|
|
/* Parameter sizes */
|
|
#define LEGACY_COMMAND_LINE_SIZE 896
|
|
|
|
|
|
#ifndef __ASSEMBLER__
|
|
#endif /* __ASSEMBLER__ */
|
|
#endif /* LINUX_LAYOUT_H */
|