pc-bios/s390-ccw: Use the libc from SLOF and remove sclp prints
authorJared Rossi <jrossi@linux.ibm.com>
Sun, 20 Oct 2024 01:29:36 +0000 (21:29 -0400)
committerThomas Huth <thuth@redhat.com>
Wed, 23 Oct 2024 04:53:44 +0000 (06:53 +0200)
commit9f4278837dc770266c8a026696dd91a525dd2682
treea41896d5728f41a7b64f926831908466ac82a111
parentabaabb2e601adfe296a64471746a997eabcc607f
pc-bios/s390-ccw: Use the libc from SLOF and remove sclp prints

We are already using the libc from SLOF for the s390-netboot.img, and
this libc implementation is way more complete and accurate than the
simple implementation that we currently use for the s390-ccw.img binary.
Since we are now always assuming that the SLOF submodule is available
when building the s390-ccw bios (see commit bf6903f6944f), we can drop
the simple implementation and use the SLOF libc for the s390-ccw.img
binary, too.

Additionally replace sclp_print calls with puts/printf now that it is
available.

Co-authored by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jared Rossi <jrossi@linux.ibm.com>
Message-ID: <20241020012953.1380075-3-jrossi@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
19 files changed:
pc-bios/s390-ccw/Makefile
pc-bios/s390-ccw/bootmap.c
pc-bios/s390-ccw/bootmap.h
pc-bios/s390-ccw/cio.c
pc-bios/s390-ccw/dasd-ipl.c
pc-bios/s390-ccw/jump2ipl.c
pc-bios/s390-ccw/libc.c [deleted file]
pc-bios/s390-ccw/libc.h [deleted file]
pc-bios/s390-ccw/main.c
pc-bios/s390-ccw/menu.c
pc-bios/s390-ccw/netboot.mak
pc-bios/s390-ccw/netmain.c
pc-bios/s390-ccw/s390-ccw.h
pc-bios/s390-ccw/sclp.c
pc-bios/s390-ccw/virtio-blkdev.c
pc-bios/s390-ccw/virtio-scsi.c
pc-bios/s390-ccw/virtio.c
tests/tcg/s390x/Makefile.softmmu-target
tests/tcg/s390x/console.c