mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/stage3: make IPL_DEVICE definition consistent with tape0.S
Make `IPL_DEVICE` definition consistent with the kernel definition and the definition in tape0.S. This allows us to refactor the code later. Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@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
0e385a81ca
commit
d884fb8db4
@@ -292,7 +292,7 @@ void start(void)
|
||||
/* store subchannel ID into low core and into new kernel space */
|
||||
subchannel_id = S390_lowcore.subchannel_id;
|
||||
*(unsigned int *)__LC_IPLDEV = subchannel_id;
|
||||
*(unsigned int *)IPL_DEVICE = subchannel_id;
|
||||
*(unsigned long long *)IPL_DEVICE = subchannel_id;
|
||||
|
||||
/* if valid command line is given, copy it into new kernel space */
|
||||
if (_parm_addr != UNSPECIFIED_ADDRESS) {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "boot/ipl.h"
|
||||
|
||||
#define IPL_DEVICE 0x10404UL
|
||||
#define IPL_DEVICE 0x10400UL
|
||||
#define INITRD_START 0x10408UL
|
||||
#define INITRD_SIZE 0x10410UL
|
||||
#define OLDMEM_BASE 0x10418UL
|
||||
|
||||
Reference in New Issue
Block a user