Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/iyonix/iyonix Initialize variables used to setup a ...



details:   https://anonhg.NetBSD.org/src/rev/3973cb3fcfdb
branches:  trunk
changeset: 327239:3973cb3fcfdb
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Mar 02 13:28:23 2014 +0000

description:
Initialize variables used to setup a dummy element.
XXX bogus, needs review

diffstat:

 sys/arch/iyonix/iyonix/iyonix_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 25561bba7341 -r 3973cb3fcfdb sys/arch/iyonix/iyonix/iyonix_machdep.c
--- a/sys/arch/iyonix/iyonix/iyonix_machdep.c   Sun Mar 02 13:27:38 2014 +0000
+++ b/sys/arch/iyonix/iyonix/iyonix_machdep.c   Sun Mar 02 13:28:23 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iyonix_machdep.c,v 1.22 2013/08/18 21:50:31 matt Exp $ */
+/*     $NetBSD: iyonix_machdep.c,v 1.23 2014/03/02 13:28:23 joerg Exp $        */
 
 /*
  * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.22 2013/08/18 21:50:31 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iyonix_machdep.c,v 1.23 2014/03/02 13:28:23 joerg Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -441,8 +441,8 @@
        int loop;
        int loop1;
        u_int l1pagetable;
-       paddr_t memstart;
-       psize_t memsize;
+       paddr_t memstart = 0;
+       psize_t memsize = 0;
 
        /* Calibrate the delay loop. */
        i80321_calibrate_delay();



Home | Main Index | Thread Index | Old Index