Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mac68k/mac68k No need to statically initialize phys...
details: https://anonhg.NetBSD.org/src/rev/ccc3c9439e2d
branches: trunk
changeset: 780724:ccc3c9439e2d
user: martin <martin%NetBSD.org@localhost>
date: Sat Aug 04 17:18:38 2012 +0000
description:
No need to statically initialize physmem here, it is set to the correct
value in pmap_bootstrap(), which is early enough.
Tested on my Centris 660AV.
diffstat:
sys/arch/mac68k/mac68k/machdep.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 885039ce1a43 -r ccc3c9439e2d sys/arch/mac68k/mac68k/machdep.c
--- a/sys/arch/mac68k/mac68k/machdep.c Sat Aug 04 15:51:20 2012 +0000
+++ b/sys/arch/mac68k/mac68k/machdep.c Sat Aug 04 17:18:38 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.344 2012/07/27 05:36:11 matt Exp $ */
+/* $NetBSD: machdep.c,v 1.345 2012/08/04 17:18:38 martin Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.344 2012/07/27 05:36:11 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.345 2012/08/04 17:18:38 martin Exp $");
#include "opt_adb.h"
#include "opt_ddb.h"
@@ -191,7 +191,6 @@
struct vm_map *phys_map = NULL;
int maxmem; /* max memory per process */
-int physmem = MAXMEM; /* max supported memory, changes to actual */
/*
* Extent maps to manage all memory space, including I/O ranges. Allocate
Home |
Main Index |
Thread Index |
Old Index