pc-bios/s390-ccw: Move libc functions to separate header
authorThomas Huth <thuth@redhat.com>
Wed, 12 Jul 2017 12:49:43 +0000 (14:49 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 14 Jul 2017 10:29:48 +0000 (12:29 +0200)
commit90806fec99d6cf32f627b66be3757901091dc7e9
tree73c605420773ae92e040989e7f6efcde5d2bd157
parentb5f5a3afb635109fa6c1d03a9c6e2653adde09a1
pc-bios/s390-ccw: Move libc functions to separate header

The upcoming netboot code will use the libc from SLOF. To be able
to still use s390-ccw.h there, the libc related functions in this
header have to be moved to a different location.
And while we're at it, remove the duplicate memcpy() function from
sclp.c.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1499863793-18627-2-git-send-email-thuth@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
pc-bios/s390-ccw/bootmap.c
pc-bios/s390-ccw/libc.h [new file with mode: 0644]
pc-bios/s390-ccw/main.c
pc-bios/s390-ccw/s390-ccw.h
pc-bios/s390-ccw/sclp.c
pc-bios/s390-ccw/virtio-scsi.c
pc-bios/s390-ccw/virtio.c