]> git.proxmox.com Git - mirror_qemu.git/commit
pc-bios/s390-ccw: Get device address via diag 308/6
authorAlexander Yarygin <yarygin@linux.vnet.ibm.com>
Fri, 31 Jul 2015 14:04:51 +0000 (17:04 +0300)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 17 May 2016 13:50:29 +0000 (15:50 +0200)
commitd046c51dad3bda03e4c012c83411842b92271542
tree1e23abd83114274998f2dc6f3cad2c9127cbf822
parent3041e3bead8df443e5212ae8a608cbec81bc90bd
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>
pc-bios/s390-ccw/iplb.h [new file with mode: 0644]
pc-bios/s390-ccw/main.c
pc-bios/s390-ccw/s390-ccw.h
pc-bios/s390-ccw/start.S