mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 16:23:35 +08:00
118ee80f79
The s390-ccw firmware needs some information in support of the boot process which is not available on the native machine. Examples are the netboot firmware load address and now the boot menu parameters. While storing that data in unused fields of the IPL parameter block works, that approach could create problems if the parameter block definition should change in the future. Because then a guest could overwrite these fields using the set IPLB diagnose. In fact the data in question is of more global nature and not really tied to an IPL device, so separating it is rather logical. This commit introduces a new structure to hold firmware relevant IPL parameters set by QEMU. The data is stored at location 204 (dec) and can contain up to 7 32-bit words. This area is available to programming in the z/Architecture Principles of Operation and can thus safely be used by the firmware until the IPL has completed. Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com> Signed-off-by: Collin L. Walling <walling@linux.vnet.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> [thuth: fixed "4 + 8 * n" comment] Signed-off-by: Thomas Huth <thuth@redhat.com> |
||
---|---|---|
.. | ||
bootmap.c | ||
bootmap.h | ||
bswap.h | ||
cio.h | ||
iplb.h | ||
libc.c | ||
libc.h | ||
main.c | ||
Makefile | ||
netboot.mak | ||
netmain.c | ||
s390-ccw.h | ||
sclp.c | ||
sclp.h | ||
scsi.h | ||
start.S | ||
virtio-blkdev.c | ||
virtio-net.c | ||
virtio-scsi.c | ||
virtio-scsi.h | ||
virtio.c | ||
virtio.h |