aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/s390-ccw/iplb.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/iplb.h
parent2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2 (diff)
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/iplb.h')
-rw-r--r--pc-bios/s390-ccw/iplb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pc-bios/s390-ccw/iplb.h b/pc-bios/s390-ccw/iplb.h
index ded20c834e..772d5c57c9 100644
--- a/pc-bios/s390-ccw/iplb.h
+++ b/pc-bios/s390-ccw/iplb.h
@@ -12,6 +12,8 @@
#ifndef IPLB_H
#define IPLB_H
+#define LOADPARM_LEN 8
+
struct IplBlockCcw {
uint8_t reserved0[85];
uint8_t ssid;
@@ -61,7 +63,7 @@ struct IplParameterBlock {
uint8_t pbt;
uint8_t flags;
uint16_t reserved01;
- uint8_t loadparm[8];
+ uint8_t loadparm[LOADPARM_LEN];
union {
IplBlockCcw ccw;
IplBlockFcp fcp;