aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/s390-ccw/cio.h
diff options
context:
space:
mode:
authorJason J. Herne <jjherne@linux.ibm.com>2019-04-04 10:34:24 -0400
committerThomas Huth <thuth@redhat.com>2019-04-12 12:40:35 +0200
commit120d04103e3f870d0fcd2a23c2ada0a4a4f036cc (patch)
tree1283b5381bf4f745a2202e601e53cf9172f48e3e /pc-bios/s390-ccw/cio.h
parentd96c5db77f1058ee9509554f43b945c66b3aa7c9 (diff)
downloadqemu-120d04103e3f870d0fcd2a23c2ada0a4a4f036cc.zip
qemu-120d04103e3f870d0fcd2a23c2ada0a4a4f036cc.tar.gz
qemu-120d04103e3f870d0fcd2a23c2ada0a4a4f036cc.tar.bz2
s390-bios: Decouple channel i/o logic from virtio
Create a separate library for channel i/o related code. This decouples channel i/o operations from virtio and allows us to make use of them for the real dasd boot path. Signed-off-by: Jason J. Herne <jjherne@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1554388475-18329-6-git-send-email-jjherne@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'pc-bios/s390-ccw/cio.h')
-rw-r--r--pc-bios/s390-ccw/cio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pc-bios/s390-ccw/cio.h b/pc-bios/s390-ccw/cio.h
index ed5b2cb..218fd96 100644
--- a/pc-bios/s390-ccw/cio.h
+++ b/pc-bios/s390-ccw/cio.h
@@ -213,6 +213,9 @@ typedef struct irb {
__u32 emw[8];
} __attribute__ ((packed, aligned(4))) Irb;
+int enable_mss_facility(void);
+void enable_subchannel(SubChannelId schid);
+
/*
* Some S390 specific IO instructions as inline
*/