summaryrefslogtreecommitdiffstats
path: root/pc-bios/s390-ccw/s390-ccw.h
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-06-19 15:40:45 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2015-06-30 09:34:58 +0200
commitbdc7fe3638fa7693eed5886b5b2afe0858d875fc (patch)
treef8e5f0682c9b9fde00162b0d65f2c8e6f058428d /pc-bios/s390-ccw/s390-ccw.h
parentec7353a146bb39c3bb3e5ccc50ca585aed97b7cf (diff)
downloadhqemu-bdc7fe3638fa7693eed5886b5b2afe0858d875fc.zip
hqemu-bdc7fe3638fa7693eed5886b5b2afe0858d875fc.tar.gz
s390-ccw.img: Consume service interrupts
We have to consume the outstanding service interrupt after each service call, otherwise a correct implementation will return CC=2 on subsequent service calls. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'pc-bios/s390-ccw/s390-ccw.h')
-rw-r--r--pc-bios/s390-ccw/s390-ccw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pc-bios/s390-ccw/s390-ccw.h b/pc-bios/s390-ccw/s390-ccw.h
index 9b3868b..5484c2a 100644
--- a/pc-bios/s390-ccw/s390-ccw.h
+++ b/pc-bios/s390-ccw/s390-ccw.h
@@ -47,6 +47,7 @@ typedef unsigned long long __u64;
/* start.s */
void disabled_wait(void);
+void consume_sclp_int(void);
/* main.c */
void virtio_panic(const char *string);
OpenPOWER on IntegriCloud