diff options
author | Dominik Dingel <dingel@linux.vnet.ibm.com> | 2013-06-17 14:29:42 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-07-29 12:02:00 +0200 |
commit | c8cda8748eceeeb06f1952e7e765a0919103644d (patch) | |
tree | 952bf455241b43d691f853fef6c5338e1130b709 /pc-bios/s390-ccw/cio.h | |
parent | 461bdb3414c40d6806194bf68c91521496b1042d (diff) |
s390/IPL: Allow boot from other ssid than 0
We now take the subchannel set id also into account to find the boot device.
If we want to use a subchannel set other than the default set 0, we first
need to enable the mss facility.
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'pc-bios/s390-ccw/cio.h')
-rw-r--r-- | pc-bios/s390-ccw/cio.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pc-bios/s390-ccw/cio.h b/pc-bios/s390-ccw/cio.h index cb5815accd..f5b4549ea3 100644 --- a/pc-bios/s390-ccw/cio.h +++ b/pc-bios/s390-ccw/cio.h @@ -93,6 +93,26 @@ struct subchannel_id { __u32 sch_no : 16; } __attribute__ ((packed, aligned(4))); +struct chsc_header { + __u16 length; + __u16 code; +} __attribute__((packed)); + +struct chsc_area_sda { + struct chsc_header request; + __u8 reserved1:4; + __u8 format:4; + __u8 reserved2; + __u16 operation_code; + __u32 reserved3; + __u32 reserved4; + __u32 operation_data_area[252]; + struct chsc_header response; + __u32 reserved5:4; + __u32 format2:4; + __u32 reserved6:24; +} __attribute__((packed)); + /* * TPI info structure */ |