[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/7] pc-bios/s390-ccw: Do proper console setup
From: |
Jens Freimann |
Subject: |
[Qemu-devel] [PATCH 6/7] pc-bios/s390-ccw: Do proper console setup |
Date: |
Fri, 29 Aug 2014 11:01:41 +0200 |
From: Christian Borntraeger <address@hidden>
The final newline/return must happen before we reset the sclp via
diag 308.
Signed-off-by: Christian Borntraeger <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
---
pc-bios/s390-ccw/bootmap.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pc-bios/s390-ccw/bootmap.c b/pc-bios/s390-ccw/bootmap.c
index aa1cf80..115d8bb 100644
--- a/pc-bios/s390-ccw/bootmap.c
+++ b/pc-bios/s390-ccw/bootmap.c
@@ -40,11 +40,6 @@ static void jump_to_IPL_2(void)
ResetInfo *current = 0;
void (*ipl)(void) = (void *) (uint64_t) current->ipl_continue;
- debug_print_addr("set IPL addr to", ipl);
-
- /* Ensure the guest output starts fresh */
- sclp_print("\n");
-
*current = save;
ipl(); /* should not return */
}
@@ -64,6 +59,11 @@ static void jump_to_IPL_code(uint64_t address)
current->ipl_addr = (uint32_t) (uint64_t) &jump_to_IPL_2;
current->ipl_continue = address & 0x7fffffff;
+ debug_print_int("set IPL addr to", current->ipl_continue);
+
+ /* Ensure the guest output starts fresh */
+ sclp_print("\n");
+
/*
* HACK ALERT.
* We use the load normal reset to keep r15 unchanged. jump_to_IPL_2
--
1.8.5.5
- [Qemu-devel] [PATCH 0/7] s390-ccw.img: block size and DASD format support, Jens Freimann, 2014/08/29
- [Qemu-devel] [PATCH 3/7] pc-bios/s390-ccw Improve ECKD informational message, Jens Freimann, 2014/08/29
- [Qemu-devel] [PATCH 4/7] pc-bios/s390-ccw Really big EAV ECKD DASD handling, Jens Freimann, 2014/08/29
- [Qemu-devel] [PATCH 2/7] pc-bios/s390-ccw: handle more ECKD DASD block sizes, Jens Freimann, 2014/08/29
- [Qemu-devel] [PATCH 5/7] pc-bios/s390-ccw: IPL from DASD with format variations, Jens Freimann, 2014/08/29
- [Qemu-devel] [PATCH 6/7] pc-bios/s390-ccw: Do proper console setup,
Jens Freimann <=
- [Qemu-devel] [PATCH 1/7] pc-bios/s390-ccw: support all virtio block size, Jens Freimann, 2014/08/29
- [Qemu-devel] [PATCH 7/7] pc-bios/s390-ccw.img binary update, Jens Freimann, 2014/08/29
- Re: [Qemu-devel] [PATCH 0/7] s390-ccw.img: block size and DASD format support, Christian Borntraeger, 2014/08/29