summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-09-27 21:50:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-09-27 21:50:40 +0000
commit9e141689d7bbfe968a6a51587e315f5c0f676cc5 (patch)
tree6b9fe759b893b9b65572ff5496d73a66259e0c85 /sys
parent6ebf34b0a9ffc616088bb8dba37b0a8fbf05eaea (diff)
Do not initialize physmem to a magic value at compile time.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hp300/hp300/machdep.c5
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c5
-rw-r--r--sys/arch/mvme68k/mvme68k/machdep.c6
3 files changed, 6 insertions, 10 deletions
diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c
index 36a301a2b86..40fd6cf4d58 100644
--- a/sys/arch/hp300/hp300/machdep.c
+++ b/sys/arch/hp300/hp300/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.101 2005/02/27 22:08:41 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.102 2005/09/27 21:50:36 miod Exp $ */
/* $NetBSD: machdep.c,v 1.121 1999/03/26 23:41:29 mycroft Exp $ */
/*
@@ -86,7 +86,6 @@
#include <dev/cons.h>
-#define MAXMEM 64*1024 /* XXX - from cmap.h */
#include <uvm/uvm_extern.h>
#ifdef USELEDS
@@ -122,7 +121,7 @@ int bufpages = 0;
int bufcachepercent = BUFCACHEPERCENT;
int maxmem; /* max memory per process */
-int physmem = MAXMEM; /* max supported memory, changes to actual */
+int physmem; /* max supported memory, changes to actual */
/*
* safepri is a safe priority for sleep to set for a spin-wait
* during autoconfiguration or after a panic.
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index 13c50d0c26b..c03628ddf97 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.118 2005/08/06 19:51:44 martin Exp $ */
+/* $OpenBSD: machdep.c,v 1.119 2005/09/27 21:50:39 miod Exp $ */
/* $NetBSD: machdep.c,v 1.207 1998/07/08 04:39:34 thorpej Exp $ */
/*
@@ -116,7 +116,6 @@
void netintr(void);
-#define MAXMEM 64*1024 /* XXX - from cmap.h */
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
@@ -192,7 +191,7 @@ int bufpages = 0;
int bufcachepercent = BUFCACHEPERCENT;
int maxmem; /* max memory per process */
-int physmem = MAXMEM; /* max supported memory, changes to actual */
+int physmem; /* max supported memory, changes to actual */
/*
* safepri is a safe priority for sleep to set for a spin-wait
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c
index 9f5066b499d..31f3ef2354b 100644
--- a/sys/arch/mvme68k/mvme68k/machdep.c
+++ b/sys/arch/mvme68k/mvme68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.88 2005/08/06 14:26:52 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.89 2005/09/27 21:50:39 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -110,8 +110,6 @@
#include <ddb/db_extern.h>
#endif
-#define MAXMEM 64*1024 /* XXX - from cmap.h */
-
#include <uvm/uvm_extern.h>
/* the following is used externally (sysctl_hw) */
@@ -143,7 +141,7 @@ int bufpages = 0;
int bufcachepercent = BUFCACHEPERCENT;
int maxmem; /* max memory per process */
-int physmem = MAXMEM; /* max supported memory, changes to actual */
+int physmem; /* max supported memory, changes to actual */
/*
* safepri is a safe priority for sleep to set for a spin-wait
* during autoconfiguration or after a panic.