pc-bios/s390-ccw: Get device address via diag 308/6
To IPL from a device, pc-bios receives from qemu a device address via general register 7. The better way to do it is to use diag308/6 instruction which returns so called "IplParameterBlock". IplParameterBlock contains the device address for IPL and additional parameters that can be used by pc-bios. This patch allows pc-bios to get device address via diag308/6 and doesn't use gr7 passed boot information anymore. Signed-off-by:Alexander Yarygin <yarygin@linux.vnet.ibm.com> Reviewed-by:
David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by:
Cornelia Huck <cornelia.huck@de.ibm.com>
Showing
- pc-bios/s390-ccw/iplb.h 79 additions, 0 deletionspc-bios/s390-ccw/iplb.h
- pc-bios/s390-ccw/main.c 15 additions, 10 deletionspc-bios/s390-ccw/main.c
- pc-bios/s390-ccw/s390-ccw.h 1 addition, 1 deletionpc-bios/s390-ccw/s390-ccw.h
- pc-bios/s390-ccw/start.S 0 additions, 2 deletionspc-bios/s390-ccw/start.S
Loading
Please register or sign in to comment