aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/s390-ccw/sclp.h
diff options
context:
space:
mode:
authorCollin Walling <walling@linux.ibm.com>2018-05-29 00:40:09 -0400
committerThomas Huth <thuth@redhat.com>2018-06-18 15:08:44 +0200
commita0e11b617b9ef41cefe8739dff4d6a7b01ca967f (patch)
tree21889217483a4dd05efefb970202b7e419caee1a /pc-bios/s390-ccw/sclp.h
parent2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2 (diff)
downloadqemu-a0e11b617b9ef41cefe8739dff4d6a7b01ca967f.zip
qemu-a0e11b617b9ef41cefe8739dff4d6a7b01ca967f.tar.gz
qemu-a0e11b617b9ef41cefe8739dff4d6a7b01ca967f.tar.bz2
pc-bios/s390-ccw: define loadparm length
Loadparm is defined by the s390 architecture to be 8 bytes in length. Let's define this size in the s390-ccw bios. Suggested-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Collin Walling <walling@linux.ibm.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'pc-bios/s390-ccw/sclp.h')
-rw-r--r--pc-bios/s390-ccw/sclp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pc-bios/s390-ccw/sclp.h b/pc-bios/s390-ccw/sclp.h
index 0dd987f..8450161 100644
--- a/pc-bios/s390-ccw/sclp.h
+++ b/pc-bios/s390-ccw/sclp.h
@@ -56,7 +56,7 @@ typedef struct ReadInfo {
uint16_t rnmax;
uint8_t rnsize;
uint8_t reserved[13];
- uint8_t loadparm[8];
+ uint8_t loadparm[LOADPARM_LEN];
} __attribute__((packed)) ReadInfo;
typedef struct SCCB {