Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/tsarm Hide unused variables in #ifdef FIXME
details: https://anonhg.NetBSD.org/src/rev/9650f07badd0
branches: trunk
changeset: 327464:9650f07badd0
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Mar 08 18:07:39 2014 +0000
description:
Hide unused variables in #ifdef FIXME
diffstat:
sys/arch/evbarm/tsarm/tsarm_machdep.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r 34d812b97244 -r 9650f07badd0 sys/arch/evbarm/tsarm/tsarm_machdep.c
--- a/sys/arch/evbarm/tsarm/tsarm_machdep.c Sat Mar 08 17:44:37 2014 +0000
+++ b/sys/arch/evbarm/tsarm/tsarm_machdep.c Sat Mar 08 18:07:39 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tsarm_machdep.c,v 1.21 2013/08/18 15:58:21 matt Exp $ */
+/* $NetBSD: tsarm_machdep.c,v 1.22 2014/03/08 18:07:39 skrll Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.21 2013/08/18 15:58:21 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tsarm_machdep.c,v 1.22 2014/03/08 18:07:39 skrll Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -378,10 +378,11 @@
int loop;
int loop1;
u_int l1pagetable;
+
+#ifdef FIXME
paddr_t memstart;
psize_t memsize;
-#ifdef FIXME
/* Calibrate the delay loop. */
i80321_calibrate_delay();
#endif
@@ -415,7 +416,7 @@
*/
i80321_sdram_bounds(&obio_bs_tag, VERDE_PMMR_BASE + VERDE_MCU_BASE,
&memstart, &memsize);
-#else
+
memstart = 0x0;
memsize = 0x2000000;
#endif
Home |
Main Index |
Thread Index |
Old Index