3d6519968b
A Linux binary will have the string "S390EP" at address 0x10008, which is important in getting the guest up off the ground. In the case of a reboot (specifically chreipl going to a new device), we should defer to the PSW at address zero for the new config, which will re-write "S390EP" from the new image. Let's clear it out at this point so that a reipl to, say, a DASD passthrough device drives the IPL path from scratch without disrupting disrupting the order of operations for other boots. Rather than hardcoding the address of this magic (again), let's define it somewhere so that the two users are visibly related. Signed-off-by: Eric Farman <farman@linux.ibm.com> Message-Id: <20201120160117.59366-3-farman@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com> |
||
---|---|---|
.. | ||
bootmap.c | ||
bootmap.h | ||
bswap.h | ||
cio.c | ||
cio.h | ||
dasd-ipl.c | ||
dasd-ipl.h | ||
helper.h | ||
iplb.h | ||
jump2ipl.c | ||
libc.c | ||
libc.h | ||
main.c | ||
Makefile | ||
menu.c | ||
netboot.mak | ||
netmain.c | ||
s390-arch.h | ||
s390-ccw.h | ||
s390-time.h | ||
sclp.c | ||
sclp.h | ||
scsi.h | ||
start.S | ||
virtio-blkdev.c | ||
virtio-net.c | ||
virtio-scsi.c | ||
virtio-scsi.h | ||
virtio.c | ||
virtio.h |