aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/css.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2014-09-05 09:33:17 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-09-23 14:10:17 +0200
commita327c9215d8a9b5935ea807aaa9b65ccd23ec615 (patch)
treee4802dc2dd9398caf7b68a8b390d972d62206d4d /hw/s390x/css.h
parent450749141ef90841f8731fc41e28c364bf768759 (diff)
s390x/css: support format-0 ccws
Add support for format-0 ccws in channel programs. As a format-1 ccw contains the same information as format-0 ccws, only supporting larger addresses, simply convert every ccw to format-1 as we walk the chain. Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'hw/s390x/css.h')
-rw-r--r--hw/s390x/css.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/css.h b/hw/s390x/css.h
index c864ea765b..384a455aa1 100644
--- a/hw/s390x/css.h
+++ b/hw/s390x/css.h
@@ -76,6 +76,7 @@ struct SubchDev {
hwaddr channel_prog;
CCW1 last_cmd;
bool last_cmd_valid;
+ bool ccw_fmt_1;
bool thinint_active;
/* transport-provided data: */
int (*ccw_cb) (SubchDev *, CCW1);