qemu-e2k/pc-bios/s390-ccw
Eric Farman 3d6519968b pc-bios: s390x: Clear out leftover S390EP string
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>
2020-11-23 09:48:45 +01:00
..
bootmap.c
bootmap.h
bswap.h
cio.c
cio.h
dasd-ipl.c
dasd-ipl.h
helper.h
iplb.h
jump2ipl.c pc-bios: s390x: Clear out leftover S390EP string 2020-11-23 09:48:45 +01:00
libc.c
libc.h
main.c pc-bios: s390x: Clear out leftover S390EP string 2020-11-23 09:48:45 +01:00
Makefile
menu.c
netboot.mak
netmain.c
s390-arch.h pc-bios: s390x: Clear out leftover S390EP string 2020-11-23 09:48:45 +01:00
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