Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand/boot consio_init() should be done before...



details:   https://anonhg.NetBSD.org/src/rev/cd9674767c4f
branches:  trunk
changeset: 467121:cd9674767c4f
user:      isaki <isaki%NetBSD.org@localhost>
date:      Tue Jan 14 03:48:10 2020 +0000

description:
consio_init() should be done before printf().

diffstat:

 sys/arch/x68k/stand/boot/boot.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 549cd5abb285 -r cd9674767c4f sys/arch/x68k/stand/boot/boot.c
--- a/sys/arch/x68k/stand/boot/boot.c   Tue Jan 14 01:41:37 2020 +0000
+++ b/sys/arch/x68k/stand/boot/boot.c   Tue Jan 14 03:48:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.30 2016/08/04 12:15:07 isaki Exp $  */
+/*     $NetBSD: boot.c,v 1.31 2020/01/14 03:48:10 isaki Exp $  */
 
 /*
  * Copyright (c) 2001 Minoura Makoto
@@ -387,6 +387,8 @@
        u_int sram_memsize;
        u_int probed_memsize;
 
+       console_device = consio_init(console_device);
+
        hostadaptor = get_scsi_host_adapter();
        rtc_offset = RTC_OFFSET;
        try_bootp = 1;
@@ -402,7 +404,6 @@
                exit(1);
        }
 
-       console_device = consio_init(console_device);
        setheap(HEAP_START, HEAP_END);
 
 #if !defined(NETBOOT)



Home | Main Index | Thread Index | Old Index