]> git.proxmox.com Git - qemu.git/blobdiff - pc-bios/s390-ccw/start.S
S390: BIOS boot from given device
[qemu.git] / pc-bios / s390-ccw / start.S
index 09deee7fc052c0f87d82d48eef8cc48e5236c980..5d5df0d616efd1a6028acbeccbcd7666a5611e7f 100644 (file)
@@ -14,6 +14,8 @@
 _start:
 
 larl   %r15, stack + 0x8000    /* Set up stack */
+larl    %r6, boot_value
+stg     %r7, 0(%r6)     /* save the boot_value before any function calls */
 j      main                    /* And call C */
 
 /*