Module Name: src Committed By: bouyer Date: Sat Apr 20 09:59:40 UTC 2013
Modified Files: src/sys/arch/amd64/amd64 [netbsd-6]: machdep.c Log Message: Pull up following revision(s) (requested by taca in ticket #866): sys/arch/amd64/amd64/machdep.c: revision 1.193 Use printf_nolog() as i386 when print remaing bytes at crash dump to prevent message buffer with cound down. To generate a diff of this commit: cvs rdiff -u -r1.175.2.7 -r1.175.2.8 src/sys/arch/amd64/amd64/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/amd64/machdep.c diff -u src/sys/arch/amd64/amd64/machdep.c:1.175.2.7 src/sys/arch/amd64/amd64/machdep.c:1.175.2.8 --- src/sys/arch/amd64/amd64/machdep.c:1.175.2.7 Mon Sep 3 19:22:45 2012 +++ src/sys/arch/amd64/amd64/machdep.c Sat Apr 20 09:59:39 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.175.2.7 2012/09/03 19:22:45 riz Exp $ */ +/* $NetBSD: machdep.c,v 1.175.2.8 2013/04/20 09:59:39 bouyer Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011 @@ -111,7 +111,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.175.2.7 2012/09/03 19:22:45 riz Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.175.2.8 2013/04/20 09:59:39 bouyer Exp $"); /* #define XENDEBUG_LOW */ @@ -1230,7 +1230,7 @@ dumpsys_seg(paddr_t maddr, paddr_t bytes for (i = 0; i < bytes; i += n, dump_totalbytesleft -= n) { /* Print out how many MBs we have left to go. */ if ((dump_totalbytesleft % (1024*1024)) == 0) - printf("%lu ", (unsigned long) + printf_nolog("%lu ", (unsigned long) (dump_totalbytesleft / (1024 * 1024))); /* Limit size for next transfer. */